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 b5cfc64e..bd40f02d 100644
--- a/logic/tools/MCEditTool.h
+++ b/logic/tools/MCEditTool.h
@@ -6,7 +6,7 @@ class MCEditTool : public BaseDetachedTool
{
Q_OBJECT
public:
- explicit MCEditTool(InstancePtr instance, QObject *parent = 0);
+ explicit MCEditTool(SettingsObjectPtr settings, InstancePtr instance, QObject *parent = 0);
protected:
QString getSave() const;
@@ -17,7 +17,7 @@ class MCEditFactory : public BaseDetachedToolFactory
{
public:
QString name() const override { return "MCEdit"; }
- void registerSettings(std::shared_ptr<SettingsObject> settings) override;
+ void registerSettings(SettingsObjectPtr settings) override;
BaseExternalTool *createTool(InstancePtr instance, QObject *parent = 0) override;
bool check(QString *error) override;
bool check(const QString &path, QString *error) override;