summaryrefslogtreecommitdiffstats
path: root/logic/LegacyFTBInstance.cpp
blob: 73a1f73d480bd239aa2bfde55303f8bf211ba047 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#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();
}