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 Change-Id: I3f0cdb53929c263d05438b1f5324b51163346d49 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> Reviewed-by: <ales.astone@gmail.com> (cherry picked from commit 9f539ab9c111ee30ee1e35ee5927b3bfbb040bda) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> (cherry picked from commit 997b7d5454085b5517d3aa6d0611a158871cdd2a)
This commit is contained in:
parent
deadc8b1af
commit
fab9466816
@ -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