Rename main window
This commit is contained in:
parent
4b6ddfb89b
commit
5335540c33
@ -822,7 +822,7 @@ public:
|
|||||||
}
|
}
|
||||||
MainWindow->resize(800, 600);
|
MainWindow->resize(800, 600);
|
||||||
MainWindow->setWindowIcon(APPLICATION->getThemedIcon("logo"));
|
MainWindow->setWindowIcon(APPLICATION->getThemedIcon("logo"));
|
||||||
MainWindow->setWindowTitle(BuildConfig.LAUNCHER_DISPLAYNAME);
|
MainWindow->setWindowTitle(APPLICATION->applicationDisplayName());
|
||||||
#ifndef QT_NO_ACCESSIBILITY
|
#ifndef QT_NO_ACCESSIBILITY
|
||||||
MainWindow->setAccessibleName(BuildConfig.LAUNCHER_NAME);
|
MainWindow->setAccessibleName(BuildConfig.LAUNCHER_NAME);
|
||||||
#endif
|
#endif
|
||||||
@ -857,8 +857,6 @@ public:
|
|||||||
|
|
||||||
void retranslateUi(MainWindow *MainWindow)
|
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
|
// all the actions
|
||||||
for(auto * item: all_actions)
|
for(auto * item: all_actions)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user