summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2010-08-20 16:03:24 (GMT)
committerKevin Smith <git@kismith.co.uk>2010-08-20 16:03:24 (GMT)
commit84835e9ed81d215511a0393d371ff9bf3ddf4953 (patch)
tree2c676478be904edbe1a6dc3c6f82c79d20edb1bf /Swift/QtUI/ChatList/ChatListMUCItem.cpp
parent54859f64709f297b97bb48367759479d58f991fe (diff)
downloadswift-84835e9ed81d215511a0393d371ff9bf3ddf4953.zip
swift-84835e9ed81d215511a0393d371ff9bf3ddf4953.tar.bz2
Sort bookmark list.
Resolves: #454
Diffstat (limited to 'Swift/QtUI/ChatList/ChatListMUCItem.cpp')
-rw-r--r--Swift/QtUI/ChatList/ChatListMUCItem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Swift/QtUI/ChatList/ChatListMUCItem.cpp b/Swift/QtUI/ChatList/ChatListMUCItem.cpp
index 370956e..e374ed5 100644
--- a/Swift/QtUI/ChatList/ChatListMUCItem.cpp
+++ b/Swift/QtUI/ChatList/ChatListMUCItem.cpp
@@ -17,7 +17,7 @@ const MUCBookmark& ChatListMUCItem::getBookmark() {
return bookmark_;
}
-QVariant ChatListMUCItem::data(int role) {
+QVariant ChatListMUCItem::data(int role) const {
switch (role) {
case Qt::DisplayRole: return P2QSTRING(bookmark_.getName());
case DetailTextRole: return P2QSTRING(bookmark_.getRoom().toString());