summaryrefslogtreecommitdiffstats
path: root/logic/icons/IconList.h
diff options
context:
space:
mode:
Diffstat (limited to 'logic/icons/IconList.h')
-rw-r--r--logic/icons/IconList.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/logic/icons/IconList.h b/logic/icons/IconList.h
index 8687eba6..124ecf27 100644
--- a/logic/icons/IconList.h
+++ b/logic/icons/IconList.h
@@ -23,6 +23,7 @@
#include <memory>
#include "MMCIcon.h"
#include "logic/settings/Setting.h"
+#include "logic/Env.h" // there is a global icon list inside Env.
class QFileSystemWatcher;
@@ -30,7 +31,7 @@ class IconList : public QAbstractListModel
{
Q_OBJECT
public:
- explicit IconList(QString path, QObject *parent = 0);
+ explicit IconList(QString builtinPath, QString path, QObject *parent = 0);
virtual ~IconList() {};
QIcon getIcon(QString key);