mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-11-20 17:11:57 +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();
|
|
}
|