summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2009-08-18 06:50:09 (GMT)
committerKevin Smith <git@kismith.co.uk>2009-08-18 06:50:09 (GMT)
commit666ad146312a1c8abdefe8bba5582fd9ac042700 (patch)
treea895bd8435c853d113b63aeabe2692dd554e630e /Swift/QtUI/Roster/RosterDelegate.h
parent19cc57c75a495b73d16e0932b77a6e2d9fbdc4e3 (diff)
downloadswift-666ad146312a1c8abdefe8bba5582fd9ac042700.zip
swift-666ad146312a1c8abdefe8bba5582fd9ac042700.tar.bz2
Include a (dummy) presence icon in roster entries.
Diffstat (limited to 'Swift/QtUI/Roster/RosterDelegate.h')
-rw-r--r--Swift/QtUI/Roster/RosterDelegate.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Swift/QtUI/Roster/RosterDelegate.h b/Swift/QtUI/Roster/RosterDelegate.h
index 9ec800f..0d923ac 100644
--- a/Swift/QtUI/Roster/RosterDelegate.h
+++ b/Swift/QtUI/Roster/RosterDelegate.h
@@ -9,6 +9,7 @@ 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 margin_ = 4;
};
}