diff options
author | Petr Mrázek <peterix@gmail.com> | 2017-12-05 09:52:04 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2017-12-05 09:52:04 +0100 |
commit | 6d034bda825c506bede7bf0229f47095222edfc2 (patch) | |
tree | e305701ed2eb2afb080ade007d3fe1668f1cfa4e /api/logic/InstanceList.cpp | |
parent | 44475350ebfed97f6b0cb14c1e62c8ef67fb9a31 (diff) | |
download | MultiMC-6d034bda825c506bede7bf0229f47095222edfc2.tar MultiMC-6d034bda825c506bede7bf0229f47095222edfc2.tar.gz MultiMC-6d034bda825c506bede7bf0229f47095222edfc2.tar.lz MultiMC-6d034bda825c506bede7bf0229f47095222edfc2.tar.xz MultiMC-6d034bda825c506bede7bf0229f47095222edfc2.zip |
GH-2059 fix instance directory not being created on first launch
Diffstat (limited to 'api/logic/InstanceList.cpp')
-rw-r--r-- | api/logic/InstanceList.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/api/logic/InstanceList.cpp b/api/logic/InstanceList.cpp index 96251b60..d5b71d50 100644 --- a/api/logic/InstanceList.cpp +++ b/api/logic/InstanceList.cpp @@ -26,10 +26,9 @@ #include "FolderInstanceProvider.h" -InstanceList::InstanceList(SettingsObjectPtr globalSettings, const QString &instDir, QObject *parent) - : QAbstractListModel(parent), m_instDir(instDir) +InstanceList::InstanceList(QObject *parent) + : QAbstractListModel(parent) { - m_globalSettings = globalSettings; resumeWatch(); } |