Skip to content

Commit

Permalink
Check Q_OS_UNIX define instead
Browse files Browse the repository at this point in the history
  • Loading branch information
nadiaholmquist committed Dec 20, 2023
1 parent 6c6318b commit fd3c349
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/frontend/qt_sdl/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3474,12 +3474,11 @@ void emuStop()
MelonApplication::MelonApplication(int& argc, char** argv)
: QApplication(argc, argv)
{
#ifndef __APPLE__
#if !defined(Q_OS_APPLE)
setWindowIcon(QIcon(":/melon-icon"));
#endif

#ifdef !defined(__APPLE__) && !defined(__WIN32__)
setDesktopFileName(QString("net.kuribo64.melonDS"));
#if defined(Q_OS_UNIX)
setDesktopFileName(QString("net.kuribo64.melonDS"));
#endif
#endif
}

Expand Down

0 comments on commit fd3c349

Please sign in to comment.