diff options
author | Petr Mrázek <peterix@gmail.com> | 2016-04-28 00:04:37 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2016-04-28 00:04:37 +0200 |
commit | 4392abfb8d3b45fb6c5cabe9d5e30c9416a5ad90 (patch) | |
tree | f9e848e8e9b25f829e8607474980f0432387d9a4 /logic/minecraft/ftb | |
parent | 72c92893a5669a91e3d48b1341b6fde306db9a54 (diff) | |
download | MultiMC-4392abfb8d3b45fb6c5cabe9d5e30c9416a5ad90.tar MultiMC-4392abfb8d3b45fb6c5cabe9d5e30c9416a5ad90.tar.gz MultiMC-4392abfb8d3b45fb6c5cabe9d5e30c9416a5ad90.tar.lz MultiMC-4392abfb8d3b45fb6c5cabe9d5e30c9416a5ad90.tar.xz MultiMC-4392abfb8d3b45fb6c5cabe9d5e30c9416a5ad90.zip |
GH-1556 disable export for tracked FTB instances
Diffstat (limited to 'logic/minecraft/ftb')
-rw-r--r-- | logic/minecraft/ftb/LegacyFTBInstance.h | 4 | ||||
-rw-r--r-- | logic/minecraft/ftb/OneSixFTBInstance.h | 5 |
2 files changed, 8 insertions, 1 deletions
diff --git a/logic/minecraft/ftb/LegacyFTBInstance.h b/logic/minecraft/ftb/LegacyFTBInstance.h index 3f3f5edf..7178bca4 100644 --- a/logic/minecraft/ftb/LegacyFTBInstance.h +++ b/logic/minecraft/ftb/LegacyFTBInstance.h @@ -10,4 +10,8 @@ public: virtual QString id() const; virtual void copy(const QDir &newDir); virtual QString typeName() const; + bool canExport() const override + { + return false; + } }; diff --git a/logic/minecraft/ftb/OneSixFTBInstance.h b/logic/minecraft/ftb/OneSixFTBInstance.h index 09a2dcb0..e7f8f485 100644 --- a/logic/minecraft/ftb/OneSixFTBInstance.h +++ b/logic/minecraft/ftb/OneSixFTBInstance.h @@ -21,7 +21,10 @@ public: QDir versionsPath() const override; bool providesVersionFile() const override; virtual QString typeName() const override; - + bool canExport() const override + { + return false; + } private: SettingsObjectPtr m_globalSettings; }; |