Skip to content

Commit

Permalink
Fix generic icon when using Wayland
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Simon authored and nadiaholmquist committed Dec 20, 2023
1 parent 01f8ad0 commit 6c6318b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/frontend/qt_sdl/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 6c6318b

Please sign in to comment.