diff options
author | Kevin Smith <git@kismith.co.uk> | 2011-02-11 21:49:56 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2011-02-11 21:49:56 (GMT) |
commit | 7d323757a6bbd93148fc25b94778e92c4ab3d665 (patch) | |
tree | c24e8c2d8325c17214d8ee0a2a59878732845976 /Swift/Controllers/Roster/Roster.cpp | |
parent | 7fe127240ecebd163f65a5078f8dc927fe17e47b (diff) | |
download | swift-contrib-7d323757a6bbd93148fc25b94778e92c4ab3d665.zip swift-contrib-7d323757a6bbd93148fc25b94778e92c4ab3d665.tar.bz2 |
Allow group changes at the same time as nick changes.
Resolves: #696
Also hopefully
Resolves: #764
Diffstat (limited to 'Swift/Controllers/Roster/Roster.cpp')
-rw-r--r-- | Swift/Controllers/Roster/Roster.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Swift/Controllers/Roster/Roster.cpp b/Swift/Controllers/Roster/Roster.cpp index 7967a38..9edcaaf 100644 --- a/Swift/Controllers/Roster/Roster.cpp +++ b/Swift/Controllers/Roster/Roster.cpp @@ -60,6 +60,10 @@ GroupRosterItem* Roster::getGroup(const String& groupName) { return group; } +void Roster::removeGroup(const String& group) { + root_->removeGroupChild(group); +} + void Roster::handleDataChanged(RosterItem* item) { onDataChanged(item); } |