[SCM] kdeconnect packaging branch, master, updated. debian/0.9g-1-1183-g9d69498

Maximiliano Curia maxy at moszumanska.debian.org
Fri Oct 14 14:27:49 UTC 2016


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

The following commit has been merged in the master branch:
commit 0f334d053f4e12304a2fe258e5547b63cc09aa8e
Author: Martin Gräßlin <mgraesslin at kde.org>
Date:   Sun Jul 6 19:31:46 2014 +0200

    Fix Plasmoid porting errors
    
    Some types changed causing the Plasmoid to end in reference errors.
    
    REVIEW: 119149
---
 plasmoid/package/contents/ui/FullRepresentation.qml | 8 ++++----
 plasmoid/package/contents/ui/main.qml               | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/plasmoid/package/contents/ui/FullRepresentation.qml b/plasmoid/package/contents/ui/FullRepresentation.qml
index e865c0d..c788b41 100644
--- a/plasmoid/package/contents/ui/FullRepresentation.qml
+++ b/plasmoid/package/contents/ui/FullRepresentation.qml
@@ -49,9 +49,9 @@ Item {
     function shouldPlasmoidBeShown()
     {
         if (devicesView.count > 0) {
-            plasmoid.status = ActiveStatus;
+            plasmoid.status = PlasmaCore.Types.ActiveStatus;
         } else {
-            plasmoid.status = PassiveStatus;
+            plasmoid.status = PlasmaCore.Types.PassiveStatus;
         }
     }
 
@@ -62,9 +62,9 @@ Item {
         ListView {
             id: devicesView
             anchors.fill: parent
-            model: DevicesModel {
+            model: KdeConnect.DevicesModel {
                 id: connectDeviceModel
-                displayFilter: StatusFlags.StatusPaired | StatusFlags.StatusReachable
+                displayFilter: KdeConnect.DevicesModel.StatusPaired | KdeConnect.DevicesModel.StatusReachable
 
             }
             delegate: DeviceDelegate { }
diff --git a/plasmoid/package/contents/ui/main.qml b/plasmoid/package/contents/ui/main.qml
index 5cb1fbb..744c697 100644
--- a/plasmoid/package/contents/ui/main.qml
+++ b/plasmoid/package/contents/ui/main.qml
@@ -26,5 +26,5 @@ Item
     Plasmoid.compactRepresentation: CompactRepresentation { }
     Plasmoid.fullRepresentation: FullRepresentation {}
 
-    Plasmoid.preferredRepresentation: fullRepresentation
+    Plasmoid.preferredRepresentation: Plasmoid.fullRepresentation
 }

-- 
kdeconnect packaging



More information about the pkg-kde-commits mailing list