mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-12-25 15:16:02 +00:00
d85e820a07
Add support of private packs. Fix instance ID problems related to FTB instances.
22 lines
458 B
C++
22 lines
458 B
C++
#include "LegacyFTBInstance.h"
|
|
|
|
LegacyFTBInstance::LegacyFTBInstance(const QString &rootDir, SettingsObject *settings, QObject *parent) :
|
|
LegacyInstance(rootDir, settings, parent)
|
|
{
|
|
}
|
|
|
|
QString LegacyFTBInstance::getStatusbarDescription()
|
|
{
|
|
return "Legacy FTB: " + intendedVersionId();
|
|
}
|
|
|
|
bool LegacyFTBInstance::menuActionEnabled(QString action_name) const
|
|
{
|
|
return false;
|
|
}
|
|
|
|
QString LegacyFTBInstance::id() const
|
|
{
|
|
return "FTB/" + BaseInstance::id();
|
|
}
|