[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
icc-effect-5.14.5
Roman Gilg 2017-01-09 09:07:05 +01:00
parent e322a025f0
commit b868df2715
1 changed files with 1 additions and 1 deletions

View File

@ -166,7 +166,7 @@ Connection::Connection(Context *input, QObject *parent)
QDBusConnection::sessionBus().registerObject(QStringLiteral("/org/kde/KWin/InputDevice"),
QStringLiteral("org.kde.KWin.InputDeviceManager"),
this,
s_self,
QDBusConnection::ExportAllProperties | QDBusConnection::ExportScriptableSignals
);
}