summaryrefslogtreecommitdiffstats
path: root/logic/OneSixInstance.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'logic/OneSixInstance.cpp')
-rw-r--r--logic/OneSixInstance.cpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/logic/OneSixInstance.cpp b/logic/OneSixInstance.cpp
index 2eca7cd7..4cbf17b2 100644
--- a/logic/OneSixInstance.cpp
+++ b/logic/OneSixInstance.cpp
@@ -226,3 +226,22 @@ QString OneSixInstance::defaultCustomBaseJar() const
{
return PathCombine(instanceRoot(), "custom.jar");
}
+
+bool OneSixInstance::menuActionEnabled ( QString action_name ) const
+{
+ if(action_name == "actionChangeInstLWJGLVersion")
+ return false;
+ if(action_name == "actionEditInstMods")
+ return false;
+ return true;
+}
+
+QString OneSixInstance::getStatusbarDescription()
+{
+ return "One Six : " + intendedVersionId();
+}
+
+QString OneSixInstance::instanceConfigFolder() const
+{
+ return PathCombine(minecraftRoot(), "config");
+}