summaryrefslogtreecommitdiffstats
path: root/logic/LegacyInstance.cpp
diff options
context:
space:
mode:
authorJan Dalheimer <jan@dalheimer.de>2014-03-10 17:38:27 +0100
committerJan Dalheimer <jan@dalheimer.de>2014-03-10 17:38:27 +0100
commit73fc9c79cff979e9023df0b1a77848c67b590681 (patch)
tree7c8be387b504eccf35e4e3422b39a78d47354e7d /logic/LegacyInstance.cpp
parent737169d1d3ac62a7db99d51e892289aee8c1d3a3 (diff)
downloadMultiMC-73fc9c79cff979e9023df0b1a77848c67b590681.tar
MultiMC-73fc9c79cff979e9023df0b1a77848c67b590681.tar.gz
MultiMC-73fc9c79cff979e9023df0b1a77848c67b590681.tar.lz
MultiMC-73fc9c79cff979e9023df0b1a77848c67b590681.tar.xz
MultiMC-73fc9c79cff979e9023df0b1a77848c67b590681.zip
Instance badges. Some easter eggs and one for broken so far.
Diffstat (limited to 'logic/LegacyInstance.cpp')
-rw-r--r--logic/LegacyInstance.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/logic/LegacyInstance.cpp b/logic/LegacyInstance.cpp
index 3b9181e0..4f2dfd9b 100644
--- a/logic/LegacyInstance.cpp
+++ b/logic/LegacyInstance.cpp
@@ -268,7 +268,7 @@ QString LegacyInstance::defaultCustomBaseJar() const
bool LegacyInstance::menuActionEnabled(QString action_name) const
{
- if (flags() & VersionBrokenFlag)
+ if (flags().contains(VersionBrokenFlag))
{
return false;
}
@@ -281,7 +281,7 @@ bool LegacyInstance::menuActionEnabled(QString action_name) const
QString LegacyInstance::getStatusbarDescription()
{
- if (flags() & VersionBrokenFlag)
+ if (flags().contains(VersionBrokenFlag))
{
return "Legacy : " + intendedVersionId() + " (broken)";
}