aboutsummaryrefslogtreecommitdiff
path: root/src/frontend/qt_sdl/main.cpp
diff options
context:
space:
mode:
authorArisotura <thetotalworm@gmail.com>2020-05-20 03:01:09 +0200
committerArisotura <thetotalworm@gmail.com>2020-05-20 03:01:09 +0200
commit700b1a8b9dfb3cb7502a2f0941cea0090ddbdf44 (patch)
treeb0fa622ec486063af4f1a953b30cab8c661265e0 /src/frontend/qt_sdl/main.cpp
parent5ed87a634afcff941aad2769496784249a568723 (diff)
add window icon
Diffstat (limited to 'src/frontend/qt_sdl/main.cpp')
-rw-r--r--src/frontend/qt_sdl/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/frontend/qt_sdl/main.cpp b/src/frontend/qt_sdl/main.cpp
index d38a73e..b81fc86 100644
--- a/src/frontend/qt_sdl/main.cpp
+++ b/src/frontend/qt_sdl/main.cpp
@@ -978,6 +978,7 @@ int main(int argc, char** argv)
Platform::Init(argc, argv);
QApplication melon(argc, argv);
+ melon.setWindowIcon(QIcon(":/melon-icon"));
// http://stackoverflow.com/questions/14543333/joystick-wont-work-using-sdl
SDL_SetHint(SDL_HINT_JOYSTICK_ALLOW_BACKGROUND_EVENTS, "1");