summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2009-08-29 20:34:11 (GMT)
committerKevin Smith <git@kismith.co.uk>2009-08-29 20:34:11 (GMT)
commit0d6f71fadac786fb94302e8f5762e37f7e598e53 (patch)
tree9f06ffbbbb4fb06a88de49910485ac651c8c94df /Swift/QtUI/Roster/RosterModel.cpp
parent030c2d8a448dbf17808b840df1d0379639867e99 (diff)
downloadswift-contrib-0d6f71fadac786fb94302e8f5762e37f7e598e53.zip
swift-contrib-0d6f71fadac786fb94302e8f5762e37f7e598e53.tar.bz2
Finally sticky roster group expansion.
Diffstat (limited to 'Swift/QtUI/Roster/RosterModel.cpp')
-rw-r--r--Swift/QtUI/Roster/RosterModel.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Swift/QtUI/Roster/RosterModel.cpp b/Swift/QtUI/Roster/RosterModel.cpp
index f54290a..8a319ea 100644
--- a/Swift/QtUI/Roster/RosterModel.cpp
+++ b/Swift/QtUI/Roster/RosterModel.cpp
@@ -24,6 +24,7 @@ void RosterModel::handleItemChanged(QtTreeWidgetItem* item) {
Q_ASSERT(modelIndex.isValid());
emit itemExpanded(modelIndex, item->isExpanded());
emit dataChanged(modelIndex, modelIndex);
+ emit dataChanged(parent(modelIndex), parent(modelIndex));
emit layoutChanged();
}