diff options
| author | Tannin <devnull@localhost> | 2015-02-25 17:48:37 +0100 |
|---|---|---|
| committer | Tannin <devnull@localhost> | 2015-02-25 17:48:37 +0100 |
| commit | 671d96383b2668ef773a49ba943328ddf0c98420 (patch) | |
| tree | bf900f0e1d806269e1684f7122999285d11f5d49 /src/modflagicondelegate.h | |
| parent | bdfd41a8621cec48bcd8da61f361269a641cdbb1 (diff) | |
icon delegates now use a pixmap cache to improve rendering performance
Diffstat (limited to 'src/modflagicondelegate.h')
| -rw-r--r-- | src/modflagicondelegate.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modflagicondelegate.h b/src/modflagicondelegate.h index cc652c06..b31a250b 100644 --- a/src/modflagicondelegate.h +++ b/src/modflagicondelegate.h @@ -9,10 +9,10 @@ public: explicit ModFlagIconDelegate(QObject *parent = 0);
virtual QSize sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const;
private:
- virtual QList<QIcon> getIcons(const QModelIndex &index) const;
+ virtual QList<QString> getIcons(const QModelIndex &index) const;
virtual size_t getNumIcons(const QModelIndex &index) const;
- QIcon getFlagIcon(ModInfo::EFlag flag) const;
+ QString getFlagIcon(ModInfo::EFlag flag) const;
private:
static ModInfo::EFlag m_ConflictFlags[4];
};
|
