diff options
Diffstat (limited to 'Swift/QtUI/ChatList/ChatListMUCItem.cpp')
-rw-r--r-- | Swift/QtUI/ChatList/ChatListMUCItem.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Swift/QtUI/ChatList/ChatListMUCItem.cpp b/Swift/QtUI/ChatList/ChatListMUCItem.cpp index 91f64e1..ec643d1 100644 --- a/Swift/QtUI/ChatList/ChatListMUCItem.cpp +++ b/Swift/QtUI/ChatList/ChatListMUCItem.cpp @@ -20,6 +20,7 @@ boost::shared_ptr<MUCBookmark> ChatListMUCItem::getBookmark() { QVariant ChatListMUCItem::data(int role) { switch (role) { case Qt::DisplayRole: return P2QSTRING(bookmark_->getName()); + case DetailTextRole: return P2QSTRING(bookmark_->getRoom().toString()); /*case Qt::TextColorRole: return textColor_; case Qt::BackgroundColorRole: return backgroundColor_; case Qt::ToolTipRole: return isContact() ? toolTipString() : QVariant(); |