refactor: check for not mac not win in placeof x or wayland in some cases

This commit is contained in:
sithlord48 2026-02-27 23:31:34 -05:00 committed by Chris Rizzitello
parent 12cf55d4fc
commit 11871d343d

View file

@ -32,7 +32,7 @@
#include <QLoggingCategory> #include <QLoggingCategory>
#endif #endif
#if defined(WINAPI_XWINDOWS) or defined(WINAPI_LIBEI) #if !defined(Q_OS_MAC) && !defined(Q_OS_WIN)
#include "platform/XDGPortalRegistry.h" #include "platform/XDGPortalRegistry.h"
#endif #endif
@ -51,7 +51,7 @@ int main(int argc, char *argv[])
QLoggingCategory::setFilterRules(QStringLiteral("*.debug=true\nqt.*=false")); QLoggingCategory::setFilterRules(QStringLiteral("*.debug=true\nqt.*=false"));
#endif #endif
#if defined(WINAPI_XWINDOWS) or defined(WINAPI_LIBEI) #if !defined(Q_OS_MAC) && !defined(Q_OS_WIN)
deskflow::platform::setAppId(); deskflow::platform::setAppId();
#endif #endif