Skip to content

Commit 11871d3

Browse files
committed
refactor: check for not mac not win in placeof x or wayland in some cases
1 parent 12cf55d commit 11871d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/apps/deskflow-gui/deskflow-gui.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
#include <QLoggingCategory>
3333
#endif
3434

35-
#if defined(WINAPI_XWINDOWS) or defined(WINAPI_LIBEI)
35+
#if !defined(Q_OS_MAC) && !defined(Q_OS_WIN)
3636
#include "platform/XDGPortalRegistry.h"
3737
#endif
3838

@@ -51,7 +51,7 @@ int main(int argc, char *argv[])
5151
QLoggingCategory::setFilterRules(QStringLiteral("*.debug=true\nqt.*=false"));
5252
#endif
5353

54-
#if defined(WINAPI_XWINDOWS) or defined(WINAPI_LIBEI)
54+
#if !defined(Q_OS_MAC) && !defined(Q_OS_WIN)
5555
deskflow::platform::setAppId();
5656
#endif
5757

0 commit comments

Comments
 (0)