a11y atspi: Fix wrong signal/slot connection
This amends commit 38251c36edf11316a2467169b1d491bf13520fd3. QDBusServiceWatcher doesn't have a checkEnabledState signal. Use the correct serviceRegistered signal. Fixes: QTBUG-131009 Pick-to: 6.8 6.8.1 Change-Id: I3f0cdb53929c263d05438b1f5324b51163346d49 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> Reviewed-by: <ales.astone@gmail.com>
This commit is contained in:
parent
8717c1752f
commit
9f539ab9c1
@ -52,7 +52,8 @@ QAtSpiDBusConnection::QAtSpiDBusConnection(QObject *parent)
|
||||
m_dbusProperties = new OrgFreedesktopDBusPropertiesInterface(A11Y_SERVICE, A11Y_PATH, c, this);
|
||||
|
||||
dbusWatcher = new QDBusServiceWatcher(A11Y_SERVICE, c, QDBusServiceWatcher::WatchForRegistration, this);
|
||||
connect(dbusWatcher, SIGNAL(checkEnabledState(QString)), this, SLOT(checkEnabledState()));
|
||||
connect(dbusWatcher, &QDBusServiceWatcher::serviceRegistered,
|
||||
this, &QAtSpiDBusConnection::checkEnabledState);
|
||||
|
||||
// If it is registered already, setup a11y right away
|
||||
if (c.interface()->isServiceRegistered(A11Y_SERVICE))
|
||||
|
Loading…
x
Reference in New Issue
Block a user