summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2012-10-07 20:37:01 (GMT)
committerKevin Smith <git@kismith.co.uk>2012-12-22 14:29:24 (GMT)
commit8f922ebfe8b1fd8c7d394da0ebeaf02f04c8e48f (patch)
tree1926a516d3d643160c22925db7bea44e5712ba4f /Swift/QtUI/Roster
parentfa500ac6870324e10ae90656c03a88666200634b (diff)
downloadswift-8f922ebfe8b1fd8c7d394da0ebeaf02f04c8e48f.zip
swift-8f922ebfe8b1fd8c7d394da0ebeaf02f04c8e48f.tar.bz2
Allow toggling of a more compact roster mode
Change-Id: I2da5116ab8467645b83afa1908f438301f326dbe
Diffstat (limited to 'Swift/QtUI/Roster')
-rw-r--r--Swift/QtUI/Roster/RosterDelegate.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Swift/QtUI/Roster/RosterDelegate.cpp b/Swift/QtUI/Roster/RosterDelegate.cpp
index 7e6428b..5c964ca 100644
--- a/Swift/QtUI/Roster/RosterDelegate.cpp
+++ b/Swift/QtUI/Roster/RosterDelegate.cpp
@@ -35,6 +35,7 @@ RosterDelegate::~RosterDelegate() {
void RosterDelegate::setCompact(bool compact) {
compact_ = compact;
+ emit sizeHintChanged(QModelIndex());
}
QSize RosterDelegate::sizeHint(const QStyleOptionViewItem& option, const QModelIndex& index ) const {