From 11871d343d382e4e83c62d4de9d8bf62166accb5 Mon Sep 17 00:00:00 2001 From: sithlord48 Date: Fri, 27 Feb 2026 23:31:34 -0500 Subject: [PATCH] refactor: check for not mac not win in placeof x or wayland in some cases --- src/apps/deskflow-gui/deskflow-gui.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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