summaryrefslogtreecommitdiffstats
path: root/logic/tools/MCEditTool.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'logic/tools/MCEditTool.cpp')
-rw-r--r--logic/tools/MCEditTool.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/logic/tools/MCEditTool.cpp b/logic/tools/MCEditTool.cpp
index e22a5d4a..36b8d5bd 100644
--- a/logic/tools/MCEditTool.cpp
+++ b/logic/tools/MCEditTool.cpp
@@ -9,7 +9,7 @@
#include "logic/BaseInstance.h"
#include "MultiMC.h"
-MCEditTool::MCEditTool(BaseInstance *instance, QObject *parent)
+MCEditTool::MCEditTool(InstancePtr instance, QObject *parent)
: BaseDetachedTool(instance, parent)
{
}
@@ -47,7 +47,7 @@ void MCEditFactory::registerSettings(SettingsObject *settings)
{
settings->registerSetting("MCEditPath");
}
-BaseExternalTool *MCEditFactory::createTool(BaseInstance *instance, QObject *parent)
+BaseExternalTool *MCEditFactory::createTool(InstancePtr instance, QObject *parent)
{
return new MCEditTool(instance, parent);
}