Do not handle invalid accessibles in atspi bridge.
Change-Id: I13a7dd1e190c5d3a5bb8be0ee66c2f18d0d3a1b5 Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com> Reviewed-by: Jan Arve Sæther <jan-arve.saether@digia.com>
This commit is contained in:
parent
3f7388bc1e
commit
d242c951be
@ -1208,6 +1208,10 @@ bool AtSpiAdaptor::handleMessage(const QDBusMessage &message, const QDBusConnect
|
||||
qAtspiDebug() << "WARNING Qt AtSpiAdaptor: Could not find accessible on path: " << message.path();
|
||||
return false;
|
||||
}
|
||||
if (!accessible->isValid()) {
|
||||
qWarning() << "WARNING Qt AtSpiAdaptor: Accessible invalid: " << accessible << message.path();
|
||||
return false;
|
||||
}
|
||||
|
||||
QString interface = message.interface();
|
||||
QString function = message.member();
|
||||
|
Loading…
Reference in New Issue
Block a user