From fd3c34973595573d5dea9aeba0a251a37264d30d Mon Sep 17 00:00:00 2001 From: Nadia Holmquist Pedersen Date: Wed, 20 Dec 2023 21:33:48 +0100 Subject: [PATCH] Check Q_OS_UNIX define instead --- src/frontend/qt_sdl/main.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/frontend/qt_sdl/main.cpp b/src/frontend/qt_sdl/main.cpp index 646777cc6e..9ada19b405 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 }