diff options
author | Petr Mrázek <peterix@gmail.com> | 2014-02-05 01:34:50 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2014-02-05 01:34:50 +0100 |
commit | 573d4c8050fa6548e4680fd74c1a0872e9a62c34 (patch) | |
tree | bdf248bcad14d2ab85a63d3a41fbe1fedf448246 /gui/groupview/Group.h | |
parent | c84c51860d4a39f9219998826c093e4e60b7bf0a (diff) | |
download | MultiMC-573d4c8050fa6548e4680fd74c1a0872e9a62c34.tar MultiMC-573d4c8050fa6548e4680fd74c1a0872e9a62c34.tar.gz MultiMC-573d4c8050fa6548e4680fd74c1a0872e9a62c34.tar.lz MultiMC-573d4c8050fa6548e4680fd74c1a0872e9a62c34.tar.xz MultiMC-573d4c8050fa6548e4680fd74c1a0872e9a62c34.zip |
Paint the headers nicer.
Diffstat (limited to 'gui/groupview/Group.h')
-rw-r--r-- | gui/groupview/Group.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gui/groupview/Group.h b/gui/groupview/Group.h index 455ee1a8..46a12f63 100644 --- a/gui/groupview/Group.h +++ b/gui/groupview/Group.h @@ -3,6 +3,7 @@ #include <QString> #include <QRect> #include <QVector> +#include <QStyleOption> class GroupView; class QPainter; @@ -26,7 +27,7 @@ struct Group void update(); /// draw the header at y-position. - void drawHeader(QPainter *painter, const int y); + void drawHeader(QPainter *painter, const QStyleOptionViewItem &option, const int y); /// height of the group, in total. includes a small bit of padding. int totalHeight() const; |