diff options
author | Kevin Smith <git@kismith.co.uk> | 2009-08-29 20:34:11 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2009-08-29 20:34:11 (GMT) |
commit | 0d6f71fadac786fb94302e8f5762e37f7e598e53 (patch) | |
tree | 9f06ffbbbb4fb06a88de49910485ac651c8c94df /Swift/QtUI/Roster/RosterModel.cpp | |
parent | 030c2d8a448dbf17808b840df1d0379639867e99 (diff) | |
download | swift-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.cpp | 1 |
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(); } |