Merge pull request #12556 from iota97/qt-icon

Add headbar icon to Qt
This commit is contained in:
Unknown W. Brackets authored and GitHub committed 2020-01-05 07:55:27 -08:00
commit 6d8ddb7a71
1 file changed
+2
+2
View File
@@ -29,6 +29,8 @@ MainWindow::MainWindow(QWidget *parent, bool fullscreen) :
QRect rect = desktop->screenGeometry(screenNum);
move((rect.width()-frameGeometry().width()) / 4, (rect.height()-frameGeometry().height()) / 4);
setWindowIcon(QIcon(qApp->applicationDirPath() + "/assets/icon_regular_72.png"));
SetGameTitle("");
emugl = new MainUI(this);