Skip to content

Commit

Permalink
Merge pull request #12556 from iota97/qt-icon
Browse files Browse the repository at this point in the history
Add headbar icon to Qt
  • Loading branch information
unknownbrackets committed Jan 5, 2020
2 parents 33cca18 + 19e03d7 commit 6d8ddb7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Qt/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 6d8ddb7

Please sign in to comment.