summaryrefslogtreecommitdiffstats
path: root/logic/icons/IconList.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'logic/icons/IconList.cpp')
-rw-r--r--logic/icons/IconList.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/logic/icons/IconList.cpp b/logic/icons/IconList.cpp
index 829fc5fc..872d5a8a 100644
--- a/logic/icons/IconList.cpp
+++ b/logic/icons/IconList.cpp
@@ -15,14 +15,14 @@
#include "IconList.h"
#include <pathutils.h>
-#include <settingsobject.h>
+#include "logic/settings/SettingsObject.h"
#include <QMap>
#include <QEventLoop>
#include <QMimeData>
#include <QUrl>
#include <QFileSystemWatcher>
#include <MultiMC.h>
-#include <setting.h>
+#include <logic/settings/Setting.h>
#define MAX_SIZE 1024
@@ -45,8 +45,8 @@ IconList::IconList(QObject *parent) : QAbstractListModel(parent)
auto setting = MMC->settings()->getSetting("IconsDir");
QString path = setting->get().toString();
- connect(setting.get(), SIGNAL(settingChanged(const Setting &, QVariant)),
- SLOT(settingChanged(const Setting &, QVariant)));
+ connect(setting.get(), SIGNAL(SettingChanged(const Setting &, QVariant)),
+ SLOT(SettingChanged(const Setting &, QVariant)));
directoryChanged(path);
}
@@ -143,7 +143,7 @@ void IconList::fileChanged(const QString &path)
emit iconUpdated(key);
}
-void IconList::settingChanged(const Setting &setting, QVariant value)
+void IconList::SettingChanged(const Setting &setting, QVariant value)
{
if(setting.id() != "IconsDir")
return;