diff options
author | Kevin Smith <git@kismith.co.uk> | 2010-04-16 11:25:42 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2010-04-16 11:25:42 (GMT) |
commit | 1e42aa0003876f5416f723d535ca27e7b2f6dc68 (patch) | |
tree | e4cdc3a0c7610f9661f208ddb24086d8090b4303 /Swift/QtUI/ChatList/ChatListMUCItem.cpp | |
parent | 76e1ad3b1290562ad0ebb4ed430eb1f2566645f0 (diff) | |
download | swift-contrib-1e42aa0003876f5416f723d535ca27e7b2f6dc68.zip swift-contrib-1e42aa0003876f5416f723d535ca27e7b2f6dc68.tar.bz2 |
Prettify the ChatList a bit.
Resolves: #322
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(); |