summaryrefslogtreecommitdiff
path: root/src/client/qwaylandintegration.cpp
diff options
context:
space:
mode:
authorJohan Klokkhammer Helsing <johan.helsing@qt.io>2019-09-20 15:55:29 +0200
committerJohan Klokkhammer Helsing <johan.helsing@qt.io>2019-09-21 06:52:11 +0200
commitda371debb1bcc4a22c5157b0d8a2e09a7cb7ce1b (patch)
treeb55885d34dc9ba49c880467ec823dd4674a6733e /src/client/qwaylandintegration.cpp
parent9e875410997cf434709437c41a6cdbf1d2cb1b59 (diff)
downloadqtwayland-da371debb1bcc4a22c5157b0d8a2e09a7cb7ce1b.tar.gz
Use new ifdef style for accessibility_atspi_bridge
Change-Id: I9537017198ef3be862b22b2ed893f9438dc92b65 Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
Diffstat (limited to 'src/client/qwaylandintegration.cpp')
-rw-r--r--src/client/qwaylandintegration.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/qwaylandintegration.cpp b/src/client/qwaylandintegration.cpp
index fbbcedbe..ce72c334 100644
--- a/src/client/qwaylandintegration.cpp
+++ b/src/client/qwaylandintegration.cpp
@@ -86,7 +86,7 @@
#include "qwaylandinputdeviceintegration_p.h"
#include "qwaylandinputdeviceintegrationfactory_p.h"
-#ifndef QT_NO_ACCESSIBILITY_ATSPI_BRIDGE
+#if QT_CONFIG(accessibility_atspi_bridge)
#include <QtLinuxAccessibilitySupport/private/bridge_p.h>
#endif
@@ -239,7 +239,7 @@ QVariant QWaylandIntegration::styleHint(StyleHint hint) const
QPlatformAccessibility *QWaylandIntegration::accessibility() const
{
if (!mAccessibility) {
-#ifndef QT_NO_ACCESSIBILITY_ATSPI_BRIDGE
+#if QT_CONFIG(accessibility_atspi_bridge)
Q_ASSERT_X(QCoreApplication::eventDispatcher(), "QWaylandIntegration",
"Initializing accessibility without event-dispatcher!");
mAccessibility.reset(new QSpiAccessibleBridge());