diff --git a/src/apps/deskflow-gui/deskflow-gui.cpp b/src/apps/deskflow-gui/deskflow-gui.cpp index c62a3ebb4..7fd5cc09e 100644 --- a/src/apps/deskflow-gui/deskflow-gui.cpp +++ b/src/apps/deskflow-gui/deskflow-gui.cpp @@ -32,7 +32,7 @@ #include #endif -#if defined(WINAPI_XWINDOWS) or defined(WINAPI_LIBEI) +#if !defined(Q_OS_MAC) && !defined(Q_OS_WIN) #include "platform/XDGPortalRegistry.h" #endif @@ -51,7 +51,7 @@ int main(int argc, char *argv[]) QLoggingCategory::setFilterRules(QStringLiteral("*.debug=true\nqt.*=false")); #endif -#if defined(WINAPI_XWINDOWS) or defined(WINAPI_LIBEI) +#if !defined(Q_OS_MAC) && !defined(Q_OS_WIN) deskflow::platform::setAppId(); #endif