diff options
author | Janrupf <werbung.janrupf@t-online.de> | 2018-04-06 15:08:59 +0200 |
---|---|---|
committer | Janrupf <werbung.janrupf@t-online.de> | 2018-04-06 19:39:12 +0200 |
commit | 97b74ef56ae3f9ff3215477eb8b0cf0f2a19ef25 (patch) | |
tree | 461a6963a8f822e700aae30549ccb02f5c6bb160 /application/FtbListModel.h | |
parent | df6e66101c2ce5635f20df2f1d7954a681845ab1 (diff) | |
download | MultiMC-97b74ef56ae3f9ff3215477eb8b0cf0f2a19ef25.tar MultiMC-97b74ef56ae3f9ff3215477eb8b0cf0f2a19ef25.tar.gz MultiMC-97b74ef56ae3f9ff3215477eb8b0cf0f2a19ef25.tar.lz MultiMC-97b74ef56ae3f9ff3215477eb8b0cf0f2a19ef25.tar.xz MultiMC-97b74ef56ae3f9ff3215477eb8b0cf0f2a19ef25.zip |
NOISSUE Fixed code for PR
Diffstat (limited to 'application/FtbListModel.h')
-rw-r--r-- | application/FtbListModel.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/application/FtbListModel.h b/application/FtbListModel.h index 747c65bd..12b26be1 100644 --- a/application/FtbListModel.h +++ b/application/FtbListModel.h @@ -7,9 +7,9 @@ #include <RWStorage.h> -#include <QPixmap> +#include <QIcon> -typedef QMap<QString, QPixmap> FtbLogoMap; +typedef QMap<QString, QIcon> FtbLogoMap; class FtbFilterModel : public QSortFilterProxyModel { @@ -39,7 +39,6 @@ class FtbListModel : public QAbstractListModel Q_OBJECT private: FtbModpackList modpacks; - QThreadPool *m_logoPool; QStringList m_failedLogos; QStringList m_loadingLogos; FtbLogoMap m_logoMap; @@ -50,7 +49,7 @@ private: private slots: void logoFailed(QString logo); - void logoLoaded(QString logo, QPixmap out); + void logoLoaded(QString logo, QIcon out); public: FtbListModel(QObject *parent); |