From cf43abc87ef56247e3012fa0d1fcefe7cb561824 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Sun, 22 Jan 2017 15:20:05 +0100 Subject: GH-1794 Only write to the instance.cfg once after copying FTB instances. --- api/logic/BaseInstance.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'api/logic/BaseInstance.h') diff --git a/api/logic/BaseInstance.h b/api/logic/BaseInstance.h index 3a551a5b..462b7c66 100644 --- a/api/logic/BaseInstance.h +++ b/api/logic/BaseInstance.h @@ -67,7 +67,7 @@ public: /// virtual destructor to make sure the destruction is COMPLETE virtual ~BaseInstance() {}; - virtual void copy(const QDir &newDir) {} + virtual void copy(SettingsObjectPtr newSettings, const QDir &newDir) {} virtual void init() = 0; -- cgit v1.2.3