From b868df2715d2b81a9d7f556ef57de5fb8aa99baa Mon Sep 17 00:00:00 2001 From: Roman Gilg Date: Mon, 9 Jan 2017 09:07:05 +0100 Subject: [PATCH] [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 --- libinput/connection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libinput/connection.cpp b/libinput/connection.cpp index 19e00d7072..10ee8bb9b1 100644 --- a/libinput/connection.cpp +++ b/libinput/connection.cpp @@ -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 ); }