[libinput] Fix threaded Connection DBus object registering
On registering object use the object in the right thread. Otherwise there are multiple errors. BUG: 374554 Differential Revision: https://phabricator.kde.org/D4027
This commit is contained in:
parent
e322a025f0
commit
b868df2715
1 changed files with 1 additions and 1 deletions
|
@ -166,7 +166,7 @@ Connection::Connection(Context *input, QObject *parent)
|
||||||
|
|
||||||
QDBusConnection::sessionBus().registerObject(QStringLiteral("/org/kde/KWin/InputDevice"),
|
QDBusConnection::sessionBus().registerObject(QStringLiteral("/org/kde/KWin/InputDevice"),
|
||||||
QStringLiteral("org.kde.KWin.InputDeviceManager"),
|
QStringLiteral("org.kde.KWin.InputDeviceManager"),
|
||||||
this,
|
s_self,
|
||||||
QDBusConnection::ExportAllProperties | QDBusConnection::ExportScriptableSignals
|
QDBusConnection::ExportAllProperties | QDBusConnection::ExportScriptableSignals
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue