Skip to content
Permalink
Browse files

Add headbar icon to Qt

  • Loading branch information
iota97 committed Jan 5, 2020
1 parent 78e36ec commit 19e03d7615074e6577ad385b87f6e863ae01a699
Showing with 2 additions and 0 deletions.
  1. +2 −0 Qt/mainwindow.cpp
@@ -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);

0 comments on commit 19e03d7

Please sign in to comment.
You can’t perform that action at this time.