diff options
author | Kevin Smith <git@kismith.co.uk> | 2010-05-26 16:29:44 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2010-05-26 17:24:07 (GMT) |
commit | e497af7cd28d2cf58d81ed8fd351b5d5ccfa56a4 (patch) | |
tree | e2fbb5b2c5f4b5fe3aa884bf551379ac2c6478c8 /Swift/QtUI/Roster/RosterModel.h | |
parent | c77cbf3d4cdcfce47639006f023715483f6f0dc1 (diff) | |
download | swift-contrib-e497af7cd28d2cf58d81ed8fd351b5d5ccfa56a4.zip swift-contrib-e497af7cd28d2cf58d81ed8fd351b5d5ccfa56a4.tar.bz2 |
Don't let roster groups open and close on their own.
Resolves: #368
Diffstat (limited to 'Swift/QtUI/Roster/RosterModel.h')
-rw-r--r-- | Swift/QtUI/Roster/RosterModel.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Swift/QtUI/Roster/RosterModel.h b/Swift/QtUI/Roster/RosterModel.h index 10aeccd..4d9e03c 100644 --- a/Swift/QtUI/Roster/RosterModel.h +++ b/Swift/QtUI/Roster/RosterModel.h @@ -39,7 +39,6 @@ namespace Swift { private: void handleDataChanged(RosterItem* item); void handleChildrenChanged(GroupRosterItem* item); - void handleGroupAdded(GroupRosterItem* group); RosterItem* getItem(const QModelIndex& index) const; QColor intToColor(int color) const; QColor getTextColor(RosterItem* item) const; @@ -49,6 +48,7 @@ namespace Swift { QString getStatusText(RosterItem* item) const; QIcon getPresenceIcon(RosterItem* item) const; int getChildCount(RosterItem* item) const; + void reLayout(); Roster* roster_; QtTreeWidget* view_; }; |