mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-11-20 08:10:11 +00:00
21 lines
478 B
C++
21 lines
478 B
C++
#include "LegacyFTBInstance.h"
|
|
|
|
LegacyFTBInstance::LegacyFTBInstance(const QString &rootDir, SettingsObject *settings, QObject *parent) :
|
|
LegacyInstance(rootDir, settings, parent)
|
|
{
|
|
}
|
|
|
|
QString LegacyFTBInstance::getStatusbarDescription()
|
|
{
|
|
if (flags().contains(VersionBrokenFlag))
|
|
{
|
|
return "Legacy FTB: " + intendedVersionId() + " (broken)";
|
|
}
|
|
return "Legacy FTB: " + intendedVersionId();
|
|
}
|
|
|
|
QString LegacyFTBInstance::id() const
|
|
{
|
|
return "FTB/" + BaseInstance::id();
|
|
}
|