From 8c9253440d966fe22431e23bccef207c17c1127c Mon Sep 17 00:00:00 2001 From: Holger Kaelberer Date: Fri, 13 Jan 2017 08:05:35 +0100 Subject: [PATCH] Export scriptable plugin signals A plugin should have the possibility to define signals to be exposed on dbus. REVIEW: 129811 --- core/device.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/device.cpp b/core/device.cpp index 822d14cc4..5b753995a 100644 --- a/core/device.cpp +++ b/core/device.cpp @@ -140,7 +140,7 @@ void Device::reloadPlugins() const QString dbusPath = plugin->dbusPath(); if (!dbusPath.isEmpty()) { - bus.registerObject(dbusPath, plugin, QDBusConnection::ExportAllProperties | QDBusConnection::ExportScriptableInvokables); + bus.registerObject(dbusPath, plugin, QDBusConnection::ExportAllProperties | QDBusConnection::ExportScriptableInvokables | QDBusConnection::ExportScriptableSignals); } } if (differentPlugins) {