summaryrefslogtreecommitdiffstats
path: root/logic/LegacyFTBInstance.cpp
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2014-02-24 02:35:01 +0100
committerPetr Mrázek <peterix@gmail.com>2014-02-24 02:35:01 +0100
commit49dc9695f5204bb80a91214c411bcb1b868ee0db (patch)
treea7867064f70ab7888c32eebf42e4bdc8bc59c32e /logic/LegacyFTBInstance.cpp
parentf7c97efcf3785f597417895945b24c2e7476cba8 (diff)
parent0b56b5efafffca77d6deee966097c55e78fb0aef (diff)
downloadMultiMC-49dc9695f5204bb80a91214c411bcb1b868ee0db.tar
MultiMC-49dc9695f5204bb80a91214c411bcb1b868ee0db.tar.gz
MultiMC-49dc9695f5204bb80a91214c411bcb1b868ee0db.tar.lz
MultiMC-49dc9695f5204bb80a91214c411bcb1b868ee0db.tar.xz
MultiMC-49dc9695f5204bb80a91214c411bcb1b868ee0db.zip
Merge branch 'fix_json_version' into integration_json_and_tools
Conflicts: logic/OneSixInstance.cpp logic/OneSixVersionBuilder.cpp Some fixage. Yay for conflicts.
Diffstat (limited to 'logic/LegacyFTBInstance.cpp')
-rw-r--r--logic/LegacyFTBInstance.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/logic/LegacyFTBInstance.cpp b/logic/LegacyFTBInstance.cpp
index 6c6bd10b..23cb259d 100644
--- a/logic/LegacyFTBInstance.cpp
+++ b/logic/LegacyFTBInstance.cpp
@@ -7,6 +7,10 @@ LegacyFTBInstance::LegacyFTBInstance(const QString &rootDir, SettingsObject *set
QString LegacyFTBInstance::getStatusbarDescription()
{
+ if (flags() & VersionBrokenFlag)
+ {
+ return "Legacy FTB: " + intendedVersionId() + " (broken)";
+ }
return "Legacy FTB: " + intendedVersionId();
}