diff options
Diffstat (limited to 'logic/minecraft/OneSixInstance.cpp')
-rw-r--r-- | logic/minecraft/OneSixInstance.cpp | 23 |
1 files changed, 5 insertions, 18 deletions
diff --git a/logic/minecraft/OneSixInstance.cpp b/logic/minecraft/OneSixInstance.cpp index 87994cef..a5be8354 100644 --- a/logic/minecraft/OneSixInstance.cpp +++ b/logic/minecraft/OneSixInstance.cpp @@ -476,24 +476,6 @@ std::shared_ptr<MinecraftProfile> OneSixInstance::getMinecraftProfile() const return m_version; } -QString OneSixInstance::getStatusbarDescription() -{ - QStringList traits; - if (flags() & VersionBrokenFlag) - { - traits.append(tr("broken")); - } - - if (traits.size()) - { - return tr("Minecraft %1 (%2)").arg(intendedVersionId()).arg(traits.join(", ")); - } - else - { - return tr("Minecraft %1").arg(intendedVersionId()); - } -} - QDir OneSixInstance::librariesPath() const { return QDir::current().absoluteFilePath("libraries"); @@ -590,3 +572,8 @@ std::shared_ptr<OneSixInstance> OneSixInstance::getSharedPtr() { return std::dynamic_pointer_cast<OneSixInstance>(BaseInstance::getSharedPtr()); } + +QString OneSixInstance::typeName() const +{ + return tr("OneSix"); +} |