diff options
author | Tor Arne Vestbø <tor.arne.vestbo@digia.com> | 2013-10-01 13:45:35 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-10-01 17:48:21 +0200 |
commit | 3bcc44268e532209314b87a4dbd418022e0a8d0f (patch) | |
tree | db61ba9da98c107bf4ed2a1a9c019b597c55f5c1 /tests | |
parent | 4e20df5fc5bffa661ae44255d9a194cc6e8cf290 (diff) |
xcb: Initialize accessibility lazily, since it requires an event-dispatcher
QSpiAccessibleBridge uses a D-BUS connection, which in turn uses socket
notifiers and timers internally. Neither of these can be used before
a event-dispatcher is in place, so we need to defer creation of the
accessibility interface until later. We assume that clients will
only call QXcbIntegration::accessibility() when an event-dispatcher
is set up, but to be extra safe we do an assert, so that failures of
this pre-condition will trigger at the place they are caused -- not
as failures to register socket notifiers and timers in the D-BUS code.
Change-Id: I4f9d8362a3f285c3da9045d1ff6b8e7b04570488
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions