2013-12-20 19:17:26 +05:30
|
|
|
#include "LegacyFTBInstance.h"
|
|
|
|
|
|
|
|
LegacyFTBInstance::LegacyFTBInstance(const QString &rootDir, SettingsObject *settings, QObject *parent) :
|
|
|
|
LegacyInstance(rootDir, settings, parent)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
QString LegacyFTBInstance::getStatusbarDescription()
|
|
|
|
{
|
2014-03-10 22:08:27 +05:30
|
|
|
if (flags().contains(VersionBrokenFlag))
|
2014-02-18 01:01:50 +05:30
|
|
|
{
|
|
|
|
return "Legacy FTB: " + intendedVersionId() + " (broken)";
|
|
|
|
}
|
2013-12-20 19:17:26 +05:30
|
|
|
return "Legacy FTB: " + intendedVersionId();
|
|
|
|
}
|
|
|
|
|
2014-01-16 03:19:37 +05:30
|
|
|
QString LegacyFTBInstance::id() const
|
|
|
|
{
|
|
|
|
return "FTB/" + BaseInstance::id();
|
|
|
|
}
|