Add headbar icon to Qt

This commit is contained in:
iota97 2020-01-05 12:21:19 +01:00
parent 78e36ece51
commit 19e03d7615

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);