[SCM] kdeconnect packaging branch, master, updated. upstream/1.0.1-206-gf661872

Maximiliano Curia maxy at moszumanska.debian.org
Thu Jul 13 18:27:00 UTC 2017


Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/kdeconnect.git;a=commitdiff;h=a968181

The following commit has been merged in the master branch:
commit a96818113df3dd35aea153fcd007262396d65d9a
Author: Aleix Pol <aleixpol at kde.org>
Date:   Sun Aug 21 13:08:36 2016 +0200

    Simplify the PluginChecker
    
    Make the connection property readonly
    Alias the device into another property
---
 plasmoid/declarativeplugin/qml/PluginChecker.qml | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/plasmoid/declarativeplugin/qml/PluginChecker.qml b/plasmoid/declarativeplugin/qml/PluginChecker.qml
index 8cb3683..194b4fb 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()
     }
 

-- 
kdeconnect packaging



More information about the pkg-kde-commits mailing list