Check Q_OS_UNIX define instead

This commit is contained in:
Nadia Holmquist Pedersen 2023-12-20 21:33:48 +01:00
parent 6c6318b63b
commit fd3c349735

View File

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