summaryrefslogtreecommitdiffstats
path: root/logic/tools/MCEditTool.h
diff options
context:
space:
mode:
Diffstat (limited to 'logic/tools/MCEditTool.h')
-rw-r--r--logic/tools/MCEditTool.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/logic/tools/MCEditTool.h b/logic/tools/MCEditTool.h
index b0ed1ad4..9985bde1 100644
--- a/logic/tools/MCEditTool.h
+++ b/logic/tools/MCEditTool.h
@@ -6,7 +6,7 @@ class MCEditTool : public BaseDetachedTool
{
Q_OBJECT
public:
- explicit MCEditTool(BaseInstance *instance, QObject *parent = 0);
+ explicit MCEditTool(InstancePtr instance, QObject *parent = 0);
protected:
void runImpl() override;
@@ -17,7 +17,7 @@ class MCEditFactory : public BaseDetachedToolFactory
public:
QString name() const override { return "MCEdit"; }
void registerSettings(SettingsObject *settings) override;
- BaseExternalTool *createTool(BaseInstance *instance, QObject *parent = 0) override;
+ BaseExternalTool *createTool(InstancePtr instance, QObject *parent = 0) override;
bool check(QString *error) override;
bool check(const QString &path, QString *error) override;
};