mirror of
https://github.com/UltimMC/Launcher.git
synced 2025-12-13 20:22:13 +00:00
Initial FTB support. Allows "tracking" of FTB instances.
This commit is contained in:
committed by
Petr Mrázek
parent
34a3fedf7b
commit
82c87aa06f
16
logic/LegacyFTBInstance.cpp
Normal file
16
logic/LegacyFTBInstance.cpp
Normal file
@@ -0,0 +1,16 @@
|
||||
#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;
|
||||
}
|
||||
Reference in New Issue
Block a user