diff options
author | Petr Mrázek <peterix@gmail.com> | 2014-06-20 01:24:32 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2014-06-20 01:24:32 +0200 |
commit | 1194ec9a8e78df9e8e19d54d63a2379408dc7a66 (patch) | |
tree | f1d8fc99127f31a495682c34e43c22c90d80d444 /logic/LegacyInstance.cpp | |
parent | d911c9908c11c42144084c862c64b740cfb0c02f (diff) | |
download | MultiMC-1194ec9a8e78df9e8e19d54d63a2379408dc7a66.tar MultiMC-1194ec9a8e78df9e8e19d54d63a2379408dc7a66.tar.gz MultiMC-1194ec9a8e78df9e8e19d54d63a2379408dc7a66.tar.lz MultiMC-1194ec9a8e78df9e8e19d54d63a2379408dc7a66.tar.xz MultiMC-1194ec9a8e78df9e8e19d54d63a2379408dc7a66.zip |
No more disabling of actions in the instance toolbar. It makes no sense.
Diffstat (limited to 'logic/LegacyInstance.cpp')
-rw-r--r-- | logic/LegacyInstance.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/logic/LegacyInstance.cpp b/logic/LegacyInstance.cpp index b646bd7b..4b856b0d 100644 --- a/logic/LegacyInstance.cpp +++ b/logic/LegacyInstance.cpp @@ -282,19 +282,6 @@ QString LegacyInstance::defaultCustomBaseJar() const return PathCombine(binDir(), "mcbackup.jar"); } -bool LegacyInstance::menuActionEnabled(QString action_name) const -{ - if (flags().contains(VersionBrokenFlag)) - { - return false; - } - if (action_name == "actionChangeInstMCVersion") - { - return false; - } - return true; -} - QString LegacyInstance::getStatusbarDescription() { if (flags().contains(VersionBrokenFlag)) |