Fix generic icon when using Wayland

This commit is contained in:
Daniel Simon 2023-12-20 00:00:13 +01:00 committed by Nadia Holmquist Pedersen
parent 01f8ad009e
commit 6c6318b63b

View File

@ -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)