summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swift/QtUI/Roster/RosterDelegate.h')
-rw-r--r--Swift/QtUI/Roster/RosterDelegate.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Swift/QtUI/Roster/RosterDelegate.h b/Swift/QtUI/Roster/RosterDelegate.h
index a48b30f..4a4ad6b 100644
--- a/Swift/QtUI/Roster/RosterDelegate.h
+++ b/Swift/QtUI/Roster/RosterDelegate.h
@@ -7,5 +7,8 @@ namespace Swift {
public:
QSize sizeHint(const QStyleOptionViewItem& option, const QModelIndex& index) const;
void paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const;
+ private:
+ static const int avatarSize_ = 32;
+ static const int margin_ = 4;
};
} \ No newline at end of file