diff options
author | Kevin Smith <git@kismith.co.uk> | 2011-07-09 19:15:47 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2011-07-09 19:15:47 (GMT) |
commit | d78c4858afaaf856ec95d45adf59916b6eaf032d (patch) | |
tree | 5c58f8553ddf3afd05255a0c7bb3b582b63700cc /Swift/QtUI/Roster | |
parent | 3e154a0c3eae309acecdfe7524cfe1e1ca95386a (diff) | |
download | swift-d78c4858afaaf856ec95d45adf59916b6eaf032d.zip swift-d78c4858afaaf856ec95d45adf59916b6eaf032d.tar.bz2 |
Fix roster avatars
Diffstat (limited to 'Swift/QtUI/Roster')
-rw-r--r-- | Swift/QtUI/Roster/RosterDelegate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Swift/QtUI/Roster/RosterDelegate.cpp b/Swift/QtUI/Roster/RosterDelegate.cpp index 6914fc3..1adb9e3 100644 --- a/Swift/QtUI/Roster/RosterDelegate.cpp +++ b/Swift/QtUI/Roster/RosterDelegate.cpp @@ -64,7 +64,7 @@ void RosterDelegate::paintContact(QPainter* painter, const QStyleOptionViewItem& QColor nameColor = index.data(Qt::TextColorRole).value<QColor>(); QString avatarPath; if (index.data(AvatarRole).isValid() && !index.data(AvatarRole).value<QString>().isNull()) { - QString avatarPath = index.data(AvatarRole).value<QString>(); + avatarPath = index.data(AvatarRole).value<QString>(); } QIcon presenceIcon = index.data(PresenceIconRole).isValid() && !index.data(PresenceIconRole).value<QIcon>().isNull() ? index.data(PresenceIconRole).value<QIcon>() |