diff options
author | Andrew <forkk@forkk.net> | 2013-03-06 12:32:15 -0600 |
---|---|---|
committer | Andrew <forkk@forkk.net> | 2013-03-06 12:32:15 -0600 |
commit | 69040f923b0344de214d6f1fc4553d223df7d2d6 (patch) | |
tree | cfbf6ea23290654a65147bc5df59cf10b1be868a /plugins/stdinstance/stdinstancetype.cpp | |
parent | 36396f7c6aca9fcc61c8620e10c31ed2c8999ebd (diff) | |
download | MultiMC-69040f923b0344de214d6f1fc4553d223df7d2d6.tar MultiMC-69040f923b0344de214d6f1fc4553d223df7d2d6.tar.gz MultiMC-69040f923b0344de214d6f1fc4553d223df7d2d6.tar.lz MultiMC-69040f923b0344de214d6f1fc4553d223df7d2d6.tar.xz MultiMC-69040f923b0344de214d6f1fc4553d223df7d2d6.zip |
Added a function to get an instance's type.
Diffstat (limited to 'plugins/stdinstance/stdinstancetype.cpp')
-rw-r--r-- | plugins/stdinstance/stdinstancetype.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/stdinstance/stdinstancetype.cpp b/plugins/stdinstance/stdinstancetype.cpp index 5a3a6649..93c5fd16 100644 --- a/plugins/stdinstance/stdinstancetype.cpp +++ b/plugins/stdinstance/stdinstancetype.cpp @@ -36,7 +36,7 @@ InstanceLoader::InstTypeError StdInstanceType::createInstance(Instance *&inst, return InstanceLoader::CantCreateDir; } - StdInstance *stdInst = new StdInstance(instDir); + StdInstance *stdInst = new StdInstance(instDir, this); // TODO: Verify that the instance is valid. @@ -48,7 +48,7 @@ InstanceLoader::InstTypeError StdInstanceType::createInstance(Instance *&inst, InstanceLoader::InstTypeError StdInstanceType::loadInstance(Instance *&inst, const QString &instDir) const { - StdInstance *stdInst = new StdInstance(instDir); + StdInstance *stdInst = new StdInstance(instDir, this); // TODO: Verify that the instance is valid. |