mirror of https://github.com/mgba-emu/mgba.git
Qt: Add app icon
This commit is contained in:
parent
5fcba6a8b2
commit
79e06612cb
|
@ -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*");
|
||||
|
||||
|
|
Loading…
Reference in New Issue