From 6d034bda825c506bede7bf0229f47095222edfc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Tue, 5 Dec 2017 09:52:04 +0100 Subject: GH-2059 fix instance directory not being created on first launch --- api/logic/InstanceList.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'api/logic/InstanceList.h') diff --git a/api/logic/InstanceList.h b/api/logic/InstanceList.h index 89be10de..dceca043 100644 --- a/api/logic/InstanceList.h +++ b/api/logic/InstanceList.h @@ -27,16 +27,14 @@ #include "QObjectPtr.h" -class QFileSystemWatcher; class BaseInstance; -class QDir; class MULTIMC_LOGIC_EXPORT InstanceList : public QAbstractListModel { Q_OBJECT public: - explicit InstanceList(SettingsObjectPtr globalSettings, const QString &instDir, QObject *parent = 0); + explicit InstanceList(QObject *parent = 0); virtual ~InstanceList(); public: @@ -101,9 +99,7 @@ private: protected: int m_watchLevel = 0; QSet m_updatedProviders; - QString m_instDir; QList m_instances; QSet m_groups; - SettingsObjectPtr m_globalSettings; QVector> m_providers; }; -- cgit v1.2.3