summaryrefslogtreecommitdiffstats
path: root/logic/LegacyInstance.cpp
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2014-06-20 01:24:32 +0200
committerPetr Mrázek <peterix@gmail.com>2014-06-20 01:24:32 +0200
commit1194ec9a8e78df9e8e19d54d63a2379408dc7a66 (patch)
treef1d8fc99127f31a495682c34e43c22c90d80d444 /logic/LegacyInstance.cpp
parentd911c9908c11c42144084c862c64b740cfb0c02f (diff)
downloadMultiMC-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.cpp13
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))