summaryrefslogtreecommitdiffstats
path: root/src/gui/accessible
diff options
context:
space:
mode:
authorFrederik Gladhorn <frederik.gladhorn@nokia.com>2011-08-26 08:33:20 (GMT)
committerFrederik Gladhorn <frederik.gladhorn@nokia.com>2011-08-26 09:57:59 (GMT)
commit1dd59e4cf52b189d6ddf9fe7ff46a30e64e5a2ac (patch)
tree389c849aa95fd596e2905cb7106df406a032b683 /src/gui/accessible
parentec32de2d49e55bb9358f1be668954c7f21bbd35b (diff)
downloadQt-1dd59e4cf52b189d6ddf9fe7ff46a30e64e5a2ac.zip
Qt-1dd59e4cf52b189d6ddf9fe7ff46a30e64e5a2ac.tar.gz
Qt-1dd59e4cf52b189d6ddf9fe7ff46a30e64e5a2ac.tar.bz2
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 19fbe78..1c1eb2a 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);