Qt: Use global Appicon instead of setting it in every Dialog

This commit is contained in:
Unknown 2017-11-18 13:20:32 +01:00 committed by Ani
parent 222c0e0fc5
commit 61ca9df45c
8 changed files with 7 additions and 15 deletions

View file

@ -63,6 +63,9 @@ rpcs3_app::rpcs3_app(int& argc, char** argv) : QApplication(argc, argv)
void rpcs3_app::Init()
{
setApplicationName("RPCS3");
setWindowIcon(QIcon(":/rpcs3.ico"));
Emu.Init();
guiSettings.reset(new gui_settings());
@ -79,7 +82,6 @@ void rpcs3_app::Init()
RPCS3MainWin->Init();
setApplicationName("RPCS3");
RPCS3MainWin->show();
// Create the thumbnail toolbar after the main_window is created