summaryrefslogtreecommitdiffstats
path: root/api/logic/InstanceCreationTask.h
diff options
context:
space:
mode:
Diffstat (limited to 'api/logic/InstanceCreationTask.h')
-rw-r--r--api/logic/InstanceCreationTask.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/api/logic/InstanceCreationTask.h b/api/logic/InstanceCreationTask.h
index b4ade320..49fd4615 100644
--- a/api/logic/InstanceCreationTask.h
+++ b/api/logic/InstanceCreationTask.h
@@ -7,13 +7,11 @@
#include "settings/SettingsObject.h"
#include "BaseVersion.h"
-class BaseInstanceProvider;
-
class MULTIMC_LOGIC_EXPORT InstanceCreationTask : public Task
{
Q_OBJECT
public:
- explicit InstanceCreationTask(SettingsObjectPtr settings, BaseInstanceProvider * target, BaseVersionPtr version, const QString &instName,
+ explicit InstanceCreationTask(SettingsObjectPtr settings, const QString & stagingPath, BaseVersionPtr version, const QString &instName,
const QString &instIcon, const QString &instGroup);
protected:
@@ -22,7 +20,7 @@ protected:
private: /* data */
SettingsObjectPtr m_globalSettings;
- BaseInstanceProvider * m_target;
+ QString m_stagingPath;
BaseVersionPtr m_version;
QString m_instName;
QString m_instIcon;