diff options
author | leo78913 <leo3758@riseup.net> | 2023-01-17 19:51:56 -0300 |
---|---|---|
committer | leo78913 <leo3758@riseup.net> | 2023-01-20 19:45:43 -0300 |
commit | 5a25ce8c1bb2aad54eb558297a11f6b614003cd1 (patch) | |
tree | c1ff2b365fad029d8c52852241c9360d56221243 /launcher/ui/MainWindow.cpp | |
parent | 670cf8ee07387a4b8c11854117b2a6d4d8517a1a (diff) | |
download | PrismLauncher-5a25ce8c1bb2aad54eb558297a11f6b614003cd1.tar.gz PrismLauncher-5a25ce8c1bb2aad54eb558297a11f6b614003cd1.tar.bz2 PrismLauncher-5a25ce8c1bb2aad54eb558297a11f6b614003cd1.zip |
Fix main window icon and stuff
i forgor 💀
Signed-off-by: leo78913 <leo3758@riseup.net>
Diffstat (limited to 'launcher/ui/MainWindow.cpp')
-rw-r--r-- | launcher/ui/MainWindow.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/launcher/ui/MainWindow.cpp b/launcher/ui/MainWindow.cpp index 79e01d91..a51cd55f 100644 --- a/launcher/ui/MainWindow.cpp +++ b/launcher/ui/MainWindow.cpp @@ -144,6 +144,12 @@ MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWi { ui->setupUi(this); + setWindowIcon(APPLICATION->getThemedIcon("logo")); + setWindowTitle(APPLICATION->applicationDisplayName()); +#ifndef QT_NO_ACCESSIBILITY + setAccessibleName(BuildConfig.LAUNCHER_DISPLAYNAME); +#endif + // instance toolbar stuff { // Qt doesn't like vertical moving toolbars, so we have to force them... |