summaryrefslogtreecommitdiffstats
path: root/src/gui/accessible
diff options
context:
space:
mode:
authorFrederik Gladhorn <frederik.gladhorn@nokia.com>2011-08-26 10:33:20 +0200
committerFrederik Gladhorn <frederik.gladhorn@nokia.com>2011-08-26 11:57:59 +0200
commit1dd59e4cf52b189d6ddf9fe7ff46a30e64e5a2ac (patch)
tree389c849aa95fd596e2905cb7106df406a032b683 /src/gui/accessible
parentec32de2d49e55bb9358f1be668954c7f21bbd35b (diff)
Check if bridge plugin vector is still valid.
Q_GLOBAL_STATIC may be destroyed and we still send ObjectDestroyed notifications. This only shows now that we actually send the Destroyed notifications.
Diffstat (limited to 'src/gui/accessible')
-rw-r--r--src/gui/accessible/qaccessible_unix.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/accessible/qaccessible_unix.cpp b/src/gui/accessible/qaccessible_unix.cpp
index 19fbe78301..1c1eb2ad05 100644
--- a/src/gui/accessible/qaccessible_unix.cpp
+++ b/src/gui/accessible/qaccessible_unix.cpp
@@ -96,7 +96,7 @@ void QAccessible::updateAccessibility(QObject *o, int who, Event reason)
}
initialize();
- if (bridges()->isEmpty())
+ if (!bridges() || bridges()->isEmpty())
return;
QAccessibleInterface *iface = QAccessible::queryAccessibleInterface(o);