Update launcher/minecraft/MinecraftInstance.cpp

Co-authored-by: Sefa Eyeoglu <contact@scrumplex.net>
Signed-off-by: Japa <japa4551@protonmail.com>
This commit is contained in:
Japa 2023-04-21 19:46:33 -03:00 committed by GitHub
parent 92cda68480
commit 672f5cf160
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -927,7 +927,7 @@ QString MinecraftInstance::getStatusbarDescription()
if (lastTimePlayed() > 0) {
QDateTime lastLaunchTime = QDateTime::fromMSecsSinceEpoch(lastLaunch());
description.append(tr(", last played at %1 for %2")
.arg(QLocale::system().toString(lastLaunchTime, QLocale::ShortFormat))
.arg(QLocale().toString(lastLaunchTime, QLocale::ShortFormat))
.arg(Time::prettifyDuration(lastTimePlayed())));
}