summaryrefslogtreecommitdiff
path: root/src/client/qwaylandintegration.cpp
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@qt.io>2016-09-20 14:31:15 +0200
committerLiang Qi <liang.qi@qt.io>2016-09-20 14:31:15 +0200
commit3f5111b6c1d92ae4fed008abb53cf4226bfef575 (patch)
tree53654662cd75aef95a343593295f1be48a1a007c /src/client/qwaylandintegration.cpp
parent5f256690a1e953ed456988b83daf43139b828131 (diff)
parentfcaa38c84dc92ec951c43e1759d7a46080755cbc (diff)
downloadqtwayland-3f5111b6c1d92ae4fed008abb53cf4226bfef575.tar.gz
Merge remote-tracking branch 'origin/5.7' into 5.8
Conflicts: src/compositor/extensions/qwaylandxdgshell.cpp Change-Id: Ic45b930e01fec803287d63b6f2347f45b7638ffc
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 a7668b1f..0e9eb44d 100644
--- a/src/client/qwaylandintegration.cpp
+++ b/src/client/qwaylandintegration.cpp
@@ -125,8 +125,6 @@ QWaylandIntegration::QWaylandIntegration()
, mNativeInterface(new QWaylandNativeInterface(this))
#ifndef QT_NO_ACCESSIBILITY
, mAccessibility(new QPlatformAccessibility())
-#else
- , mAccessibility(0)
#endif
, mClientBufferIntegrationInitialized(false)
, mServerBufferIntegrationInitialized(false)
@@ -262,10 +260,12 @@ QVariant QWaylandIntegration::styleHint(StyleHint hint) const
return QPlatformIntegration::styleHint(hint);
}
+#ifndef QT_NO_ACCESSIBILITY
QPlatformAccessibility *QWaylandIntegration::accessibility() const
{
return mAccessibility;
}
+#endif
QPlatformServices *QWaylandIntegration::services() const
{