summaryrefslogtreecommitdiffstats
path: root/api/logic/NullInstance.h
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2016-11-04 01:17:28 +0100
committerPetr Mrázek <peterix@gmail.com>2016-11-04 01:19:04 +0100
commit87dd9515052661e622587cafcf972ea1beee8195 (patch)
treeb0e491c544180a9629f78b4fb9df3a383858b26b /api/logic/NullInstance.h
parent3780a25d27ae5c803ce9ed075928fff365104987 (diff)
downloadMultiMC-87dd9515052661e622587cafcf972ea1beee8195.tar
MultiMC-87dd9515052661e622587cafcf972ea1beee8195.tar.gz
MultiMC-87dd9515052661e622587cafcf972ea1beee8195.tar.lz
MultiMC-87dd9515052661e622587cafcf972ea1beee8195.tar.xz
MultiMC-87dd9515052661e622587cafcf972ea1beee8195.zip
NOISSUE add a badge for crashed instances
Not persistent across MultiMC runs.
Diffstat (limited to 'api/logic/NullInstance.h')
-rw-r--r--api/logic/NullInstance.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/logic/NullInstance.h b/api/logic/NullInstance.h
index 4fb31854..5323d135 100644
--- a/api/logic/NullInstance.h
+++ b/api/logic/NullInstance.h
@@ -7,7 +7,7 @@ public:
NullInstance(SettingsObjectPtr globalSettings, SettingsObjectPtr settings, const QString& rootDir)
:BaseInstance(globalSettings, settings, rootDir)
{
- setFlag(BaseInstance::VersionBrokenFlag);
+ setVersionBroken(true);
}
virtual ~NullInstance() {};
virtual bool setIntendedVersionId(QString) override