Check Q_OS_UNIX define instead
This commit is contained in:
parent
6c6318b63b
commit
fd3c349735
|
@ -3474,12 +3474,11 @@ void emuStop()
|
||||||
MelonApplication::MelonApplication(int& argc, char** argv)
|
MelonApplication::MelonApplication(int& argc, char** argv)
|
||||||
: QApplication(argc, argv)
|
: QApplication(argc, argv)
|
||||||
{
|
{
|
||||||
#ifndef __APPLE__
|
#if !defined(Q_OS_APPLE)
|
||||||
setWindowIcon(QIcon(":/melon-icon"));
|
setWindowIcon(QIcon(":/melon-icon"));
|
||||||
#endif
|
#if defined(Q_OS_UNIX)
|
||||||
|
setDesktopFileName(QString("net.kuribo64.melonDS"));
|
||||||
#ifdef !defined(__APPLE__) && !defined(__WIN32__)
|
#endif
|
||||||
setDesktopFileName(QString("net.kuribo64.melonDS"));
|
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue