From 6c6318b63bdaec9dedf5bf3e8a9ae1db1df8058f Mon Sep 17 00:00:00 2001 From: Daniel Simon Date: Wed, 20 Dec 2023 00:00:13 +0100 Subject: Fix generic icon when using Wayland --- src/frontend/qt_sdl/main.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') 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) -- cgit v1.2.3