Qt: Add app icon
Jeffrey Pfau jeffrey@endrift.com
Wed, 10 Jun 2015 00:37:11 -0700
1 files changed,
3 insertions(+),
0 deletions(-)
jump to
M
src/platform/qt/GBAApp.cpp
→
src/platform/qt/GBAApp.cpp
@@ -11,6 +11,7 @@ #include "Window.h"
#include <QFileInfo> #include <QFileOpenEvent> +#include <QIcon> extern "C" { #include "platform/commandline.h"@@ -30,6 +31,8 @@
#ifdef BUILD_SDL SDL_Init(SDL_INIT_NOPARACHUTE); #endif + + setWindowIcon(QIcon(":/res/mgba-1024.png")); SocketSubsystemInit(); qRegisterMetaType<const uint32_t*>("const uint32_t*");