diff options
author | Daniel Simon <dev@firespike.de> | 2023-12-20 00:00:13 +0100 |
---|---|---|
committer | Nadia Holmquist Pedersen <nadia@nhp.sh> | 2023-12-20 21:38:55 +0100 |
commit | 6c6318b63bdaec9dedf5bf3e8a9ae1db1df8058f (patch) | |
tree | dec3c3a24bddbc56bad9be47b4e862f2e34ba8e6 | |
parent | 01f8ad009ef3610fa4b58f57bc0a544b7793c5bd (diff) |
Fix generic icon when using Wayland
-rw-r--r-- | src/frontend/qt_sdl/main.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/frontend/qt_sdl/main.cpp b/src/frontend/qt_sdl/main.cpp index ba5fecb..646777c 100644 --- a/src/frontend/qt_sdl/main.cpp +++ b/src/frontend/qt_sdl/main.cpp @@ -3477,6 +3477,10 @@ MelonApplication::MelonApplication(int& argc, char** argv) #ifndef __APPLE__ setWindowIcon(QIcon(":/melon-icon")); #endif + +#ifdef !defined(__APPLE__) && !defined(__WIN32__) + setDesktopFileName(QString("net.kuribo64.melonDS")); +#endif } bool MelonApplication::event(QEvent *event) |