summaryrefslogtreecommitdiffstats
path: root/src/client/qwaylandintegration_p.h
diff options
context:
space:
mode:
authorDavid Edmundson <davidedmundson@kde.org>2017-09-15 18:34:49 +0200
committerFrederik Gladhorn <frederik.gladhorn@qt.io>2018-10-15 14:32:43 +0000
commit0761173a046f8f10cc185cff9c524ae6a5284556 (patch)
tree9d765ce9d784a85d2cbcc5f714372d0cd45396f8 /src/client/qwaylandintegration_p.h
parent3d02f3ad3339a6a711cadee35244d24c1ba913e2 (diff)
Load the Linux SPI Accessibility bridge
This is mostly a copy of XCB's atspi brige loading, only it creates the original QPlatformAccessility() instance if the atspi bridge is not available, to match the current behavior. This also moves accesibility module to be lazy-loaded to match both Mir and XCB QPAs. Change-Id: I7b7ccadbec3760ab8a9449124db0db3f28c1f355 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
Diffstat (limited to 'src/client/qwaylandintegration_p.h')
-rw-r--r--src/client/qwaylandintegration_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/qwaylandintegration_p.h b/src/client/qwaylandintegration_p.h
index a5a3d7b69..944f635bb 100644
--- a/src/client/qwaylandintegration_p.h
+++ b/src/client/qwaylandintegration_p.h
@@ -145,7 +145,7 @@ private:
QScopedPointer<QPlatformNativeInterface> mNativeInterface;
QScopedPointer<QPlatformInputContext> mInputContext;
#if QT_CONFIG(accessibility)
- QScopedPointer<QPlatformAccessibility> mAccessibility;
+ mutable QScopedPointer<QPlatformAccessibility> mAccessibility;
#endif
bool mFailed = false;
bool mClientBufferIntegrationInitialized = false;