summaryrefslogtreecommitdiffstats
path: root/logic/LegacyFTBInstance.cpp
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2014-01-15 22:49:37 +0100
committerPetr Mrázek <peterix@gmail.com>2014-01-15 22:49:37 +0100
commitd85e820a070ea81ee9b76553c3e35948ef785426 (patch)
tree53f508fdc554dbb8ab4105d31fe91c7752f9cc25 /logic/LegacyFTBInstance.cpp
parent555cbe00ced6097202f148f200811acc6b1eeb4d (diff)
downloadMultiMC-d85e820a070ea81ee9b76553c3e35948ef785426.tar
MultiMC-d85e820a070ea81ee9b76553c3e35948ef785426.tar.gz
MultiMC-d85e820a070ea81ee9b76553c3e35948ef785426.tar.lz
MultiMC-d85e820a070ea81ee9b76553c3e35948ef785426.tar.xz
MultiMC-d85e820a070ea81ee9b76553c3e35948ef785426.zip
Fix FTB.
Add support of private packs. Fix instance ID problems related to FTB instances.
Diffstat (limited to 'logic/LegacyFTBInstance.cpp')
-rw-r--r--logic/LegacyFTBInstance.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/logic/LegacyFTBInstance.cpp b/logic/LegacyFTBInstance.cpp
index 84d5a900..6c6bd10b 100644
--- a/logic/LegacyFTBInstance.cpp
+++ b/logic/LegacyFTBInstance.cpp
@@ -14,3 +14,8 @@ bool LegacyFTBInstance::menuActionEnabled(QString action_name) const
{
return false;
}
+
+QString LegacyFTBInstance::id() const
+{
+ return "FTB/" + BaseInstance::id();
+}