all repos — mgba @ 79e06612cb77d31bfaaa1a5506703158b4a2f989

mGBA Game Boy Advance Emulator

Qt: Add app icon
Jeffrey Pfau jeffrey@endrift.com
Wed, 10 Jun 2015 00:37:11 -0700
commit

79e06612cb77d31bfaaa1a5506703158b4a2f989

parent

5fcba6a8b2ae695721a697449ffc9043abe8ce8b

1 files changed, 3 insertions(+), 0 deletions(-)

jump to
M src/platform/qt/GBAApp.cppsrc/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*");