[Qt] Setup main window icon

This commit is contained in:
Dr. Chat 2018-05-15 14:04:18 -05:00
parent 90929d74a8
commit 20360cce48
4 changed files with 2 additions and 4 deletions

View File

Before

Width:  |  Height:  |  Size: 222 KiB

After

Width:  |  Height:  |  Size: 222 KiB

View File

@ -1,3 +0,0 @@
//{{NO_DEPENDENCIES}}
MAINICON ICON "..\\..\\..\\assets\\icon\\icon.ico"

View File

@ -1,4 +1,5 @@
<RCC>
<qresource prefix="/">
<file>icon.ico</file>
</qresource>
</RCC>

View File

@ -37,7 +37,7 @@ int xenia_main(const std::vector<std::wstring>& args) {
char* argv[] = {"xenia", nullptr};
QApplication app(argc, argv);
EmulatorWindow main_wnd;
main_wnd.setWindowIcon(QIcon(":/icon.ico"));
main_wnd.setFixedSize(1280, 720);
/*