diff options
author | jn64 <23169302+jn64@users.noreply.github.com> | 2022-06-18 20:00:54 +0800 |
---|---|---|
committer | jn64 <23169302+jn64@users.noreply.github.com> | 2022-06-20 13:45:36 +0800 |
commit | 5335540c333c392019e89bd8fba9ff56250cecdd (patch) | |
tree | 663c29668e61f7885a514976cc94bc2e242a5d3c /launcher/ui/MainWindow.cpp | |
parent | 4b6ddfb89b1bcff163500b274bfa2bef98f33e71 (diff) | |
download | PrismLauncher-5335540c333c392019e89bd8fba9ff56250cecdd.tar.gz PrismLauncher-5335540c333c392019e89bd8fba9ff56250cecdd.tar.bz2 PrismLauncher-5335540c333c392019e89bd8fba9ff56250cecdd.zip |
Rename main window
Diffstat (limited to 'launcher/ui/MainWindow.cpp')
-rw-r--r-- | launcher/ui/MainWindow.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/launcher/ui/MainWindow.cpp b/launcher/ui/MainWindow.cpp index 210442df..8c70cd49 100644 --- a/launcher/ui/MainWindow.cpp +++ b/launcher/ui/MainWindow.cpp @@ -822,7 +822,7 @@ public: } MainWindow->resize(800, 600); MainWindow->setWindowIcon(APPLICATION->getThemedIcon("logo")); - MainWindow->setWindowTitle(BuildConfig.LAUNCHER_DISPLAYNAME); + MainWindow->setWindowTitle(APPLICATION->applicationDisplayName()); #ifndef QT_NO_ACCESSIBILITY MainWindow->setAccessibleName(BuildConfig.LAUNCHER_NAME); #endif @@ -857,8 +857,6 @@ public: void retranslateUi(MainWindow *MainWindow) { - QString winTitle = tr("%1 - Version %2", "Launcher - Version X").arg(BuildConfig.LAUNCHER_DISPLAYNAME, BuildConfig.printableVersionString()); - MainWindow->setWindowTitle(winTitle); // all the actions for(auto * item: all_actions) { |