Remove redundant type name from status bar

The type name is always "Minecraft", so it showed "Minecraft X.X.X (Minecraft)"
This commit is contained in:
Kenneth Chew 2022-06-29 00:34:44 -04:00
parent 06bf7b0f31
commit 79840f0fca
No known key found for this signature in database
GPG Key ID: F17D3E14A07739DA

View File

@ -835,7 +835,7 @@ QString MinecraftInstance::getStatusbarDescription()
} }
QString description; QString description;
description.append(tr("Minecraft %1 (%2)").arg(mcVersion).arg(typeName())); description.append(tr("Minecraft %1").arg(mcVersion));
if(m_settings->get("ShowGameTime").toBool()) if(m_settings->get("ShowGameTime").toBool())
{ {
if (lastTimePlayed() > 0) { if (lastTimePlayed() > 0) {