diff --git a/plasmoid/declarativeplugin/qml/PluginChecker.qml b/plasmoid/declarativeplugin/qml/PluginChecker.qml index 8cb36835e..194b4fb6a 100644 --- a/plasmoid/declarativeplugin/qml/PluginChecker.qml +++ b/plasmoid/declarativeplugin/qml/PluginChecker.qml @@ -28,11 +28,12 @@ QtObject { property string deviceId: "" property string pluginName: "" - readonly property variant device: DeviceDbusInterfaceFactory.create(deviceId) property bool available: false + readonly property alias device: conn.target - property Connections connection: Connections { - target: device + readonly property Connections connection: Connections { + id: conn + target: DeviceDbusInterfaceFactory.create(root.deviceId) onPluginsChanged: pluginsChanged() }