diff options
author | Petr Mrázek <peterix@gmail.com> | 2013-08-25 01:32:42 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2013-08-25 01:32:42 +0200 |
commit | d884f849d60db44f05a6a6b22f4ffcf520900389 (patch) | |
tree | 22387a110c1e7dfeb5f68983b1f0ef0a13ba0aaa /logic/OneSixInstance.cpp | |
parent | e3b55067eb51ee82e72b41a1919406d768e00b89 (diff) | |
download | MultiMC-d884f849d60db44f05a6a6b22f4ffcf520900389.tar MultiMC-d884f849d60db44f05a6a6b22f4ffcf520900389.tar.gz MultiMC-d884f849d60db44f05a6a6b22f4ffcf520900389.tar.lz MultiMC-d884f849d60db44f05a6a6b22f4ffcf520900389.tar.xz MultiMC-d884f849d60db44f05a6a6b22f4ffcf520900389.zip |
All kinds of incremental improvements
Redone the instance action toolbar:
* Removed all the dead actions
* Change icon and Rename are now morphed into a header
* Added button for opening the config folder
Implemented support for loose files and folders as legacy jar mods
Added texture pack support
Diffstat (limited to 'logic/OneSixInstance.cpp')
-rw-r--r-- | logic/OneSixInstance.cpp | 19 |
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"); +} |