Skip to content

Commit 0c97085

Browse files
authored
Merge pull request #9381 from nextcloud/bugfix/providePlatformNameInfo
chore: add platform name in about information
2 parents fa5eb07 + be36755 commit 0c97085

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libsync/theme.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -446,8 +446,8 @@ QString Theme::developerStringInfo() const
446446
const auto osStringList = Utility::platformName().split(QLatin1Char(' '));
447447
const auto osName = osStringList.at(0);
448448

449-
const auto devString = QString(tr("%1 Desktop Client Version %2 (%3)", "%1 is application name. %2 is the human version string. %3 is the operating system name."))
450-
.arg(APPLICATION_NAME, QString::fromLatin1(MIRALL_HUMAN_VERSION_STRING), osName);
449+
const auto devString = QString(tr("%1 Desktop Client Version %2 (%3 running on %4)", "%1 is application name. %2 is the human version string. %3 is the operating system name. %4 is the platform name (wayland, x11, …)"))
450+
.arg(APPLICATION_NAME, QString::fromLatin1(MIRALL_HUMAN_VERSION_STRING), osName, qGuiApp->platformName());
451451

452452
return devString;
453453
}

0 commit comments

Comments
 (0)