pollymc/logic/ftb/LegacyFTBInstance.cpp

21 lines
470 B
C++
Raw Normal View History

#include "LegacyFTBInstance.h"
LegacyFTBInstance::LegacyFTBInstance(const QString &rootDir, SettingsObject *settings, QObject *parent) :
LegacyInstance(rootDir, settings, parent)
{
}
QString LegacyFTBInstance::getStatusbarDescription()
{
2014-09-06 21:46:56 +05:30
if (flags() & VersionBrokenFlag)
{
return "Legacy FTB: " + intendedVersionId() + " (broken)";
}
return "Legacy FTB: " + intendedVersionId();
}
QString LegacyFTBInstance::id() const
{
return "FTB/" + BaseInstance::id();
}