aboutsummaryrefslogtreecommitdiff
path: root/launcher/ui/MainWindow.cpp
diff options
context:
space:
mode:
authorleo78913 <leo3758@riseup.net>2023-01-17 19:51:56 -0300
committerleo78913 <leo3758@riseup.net>2023-01-20 19:45:43 -0300
commit5a25ce8c1bb2aad54eb558297a11f6b614003cd1 (patch)
treec1ff2b365fad029d8c52852241c9360d56221243 /launcher/ui/MainWindow.cpp
parent670cf8ee07387a4b8c11854117b2a6d4d8517a1a (diff)
downloadPrismLauncher-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.cpp6
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...