diff options
author | Kevin Smith <git@kismith.co.uk> | 2011-07-10 14:08:13 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2011-07-10 14:08:13 (GMT) |
commit | 294d54ea981df9201fec656cda027eb88752f0d1 (patch) | |
tree | 7c44d01844d5b51bb52befe04ea1d1061d5dd875 /Swift/QtUI/ChatList | |
parent | 72cd949dd179f0781c156544b87cb6d1d5c34862 (diff) | |
download | swift-contrib-294d54ea981df9201fec656cda027eb88752f0d1.zip swift-contrib-294d54ea981df9201fec656cda027eb88752f0d1.tar.bz2 |
Include per-chat unread count in Chats
Diffstat (limited to 'Swift/QtUI/ChatList')
-rw-r--r-- | Swift/QtUI/ChatList/ChatListDelegate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Swift/QtUI/ChatList/ChatListDelegate.cpp b/Swift/QtUI/ChatList/ChatListDelegate.cpp index 0c4356c..29dba62 100644 --- a/Swift/QtUI/ChatList/ChatListDelegate.cpp +++ b/Swift/QtUI/ChatList/ChatListDelegate.cpp @@ -109,7 +109,7 @@ void ChatListDelegate::paintRecent(QPainter* painter, const QStyleOptionViewItem QString name = item->data(Qt::DisplayRole).toString(); //qDebug() << "Avatar for " << name << " = " << avatarPath; QString statusText = item->data(ChatListRecentItem::DetailTextRole).toString(); - common_.paintContact(painter, option, nameColor, avatarPath, presenceIcon, name, statusText); + common_.paintContact(painter, option, nameColor, avatarPath, presenceIcon, name, statusText, item->getChat().unreadCount); } } |