summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2009-08-18 07:01:06 (GMT)
committerKevin Smith <git@kismith.co.uk>2009-08-18 07:01:06 (GMT)
commit30e996565f292159a088d6fb9f735f776fe5fed3 (patch)
treeae718c8ab2071de0c22631af0dc72c25b39cb391 /Swift/QtUI/Roster/RosterDelegate.h
parent666ad146312a1c8abdefe8bba5582fd9ac042700 (diff)
downloadswift-30e996565f292159a088d6fb9f735f776fe5fed3.zip
swift-30e996565f292159a088d6fb9f735f776fe5fed3.tar.bz2
Try the roster item presence icon overlapping the avatar.
Diffstat (limited to 'Swift/QtUI/Roster/RosterDelegate.h')
-rw-r--r--Swift/QtUI/Roster/RosterDelegate.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Swift/QtUI/Roster/RosterDelegate.h b/Swift/QtUI/Roster/RosterDelegate.h
index 0d923ac..5986ab2 100644
--- a/Swift/QtUI/Roster/RosterDelegate.h
+++ b/Swift/QtUI/Roster/RosterDelegate.h
@@ -9,7 +9,8 @@ namespace Swift {
void paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const;
private:
static const int avatarSize_ = 28;
- static const int presenceIconSize_ = 16;
+ static const int presenceIconHeight_ = 16;
+ static const int presenceIconWidth_ = 16;
static const int margin_ = 4;
};
}