From 6c6318b63bdaec9dedf5bf3e8a9ae1db1df8058f Mon Sep 17 00:00:00 2001 From: Daniel Simon Date: Wed, 20 Dec 2023 00:00:13 +0100 Subject: [PATCH] Fix generic icon when using Wayland --- src/frontend/qt_sdl/main.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/frontend/qt_sdl/main.cpp b/src/frontend/qt_sdl/main.cpp index ba5fecb9..646777cc 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)