aboutsummaryrefslogtreecommitdiff
path: root/src/frontend/qt_sdl/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend/qt_sdl/main.cpp')
-rw-r--r--src/frontend/qt_sdl/main.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/frontend/qt_sdl/main.cpp b/src/frontend/qt_sdl/main.cpp
index 646777c..9ada19b 100644
--- a/src/frontend/qt_sdl/main.cpp
+++ b/src/frontend/qt_sdl/main.cpp
@@ -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
}