Skip to content
Permalink
Browse files

Merge pull request #12556 from iota97/qt-icon

Add headbar icon to Qt
  • Loading branch information
unknownbrackets committed Jan 5, 2020
2 parents 33cca18 + 19e03d7 commit 6d8ddb7a719d81f017bcab395522b6eb9f2eaa75
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 6d8ddb7

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