Qt: Add app icon

This commit is contained in:
Jeffrey Pfau 2015-06-10 00:37:11 -07:00
parent 5fcba6a8b2
commit 79e06612cb
1 changed files with 3 additions and 0 deletions

View File

@ -11,6 +11,7 @@
#include <QFileInfo>
#include <QFileOpenEvent>
#include <QIcon>
extern "C" {
#include "platform/commandline.h"
@ -31,6 +32,8 @@ GBAApp::GBAApp(int& argc, char* argv[])
SDL_Init(SDL_INIT_NOPARACHUTE);
#endif
setWindowIcon(QIcon(":/res/mgba-1024.png"));
SocketSubsystemInit();
qRegisterMetaType<const uint32_t*>("const uint32_t*");