summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
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());