Instance flags. Currently used for marking instances as broken. Can later be used for badges.
This commit is contained in:
parent
4e8be668cb
commit
0b56b5efaf
10 changed files with 83 additions and 10 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue