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

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


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

The following commit has been merged in the master branch:
commit d84a1a108b60ab20e24729b34b65d3899c1b2d18
Author: Aleix Pol <aleixpol at kde.org>
Date:   Sun Aug 21 18:45:49 2016 +0200

    Mark the current section
---
 app/qml/FindDevicesPage.qml | 1 +
 app/qml/main.qml            | 7 +++++--
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/app/qml/FindDevicesPage.qml b/app/qml/FindDevicesPage.qml
index b555e72..ba544c4 100644
--- a/app/qml/FindDevicesPage.qml
+++ b/app/qml/FindDevicesPage.qml
@@ -26,6 +26,7 @@ import org.kde.kdeconnect 1.0
 
 Kirigami.Page
 {
+    objectName: "FindDevices"
     title: i18n("Pair")
     ScrollView {
         anchors.fill: parent
diff --git a/app/qml/main.qml b/app/qml/main.qml
index 0919c6f..0e58b30 100644
--- a/app/qml/main.qml
+++ b/app/qml/main.qml
@@ -35,6 +35,9 @@ Kirigami.ApplicationWindow
         id: findDevicesAction
         text: i18n ("Find devices...")
         iconName: "list-add"
+        checkable: pageStack.currentItem && pageStack.currentItem.objectName == "FindDevices"
+        checked: true
+
         onTriggered: {
             root.pageStack.clear()
             root.pageStack.push("qrc:/qml/FindDevicesPage.qml");
@@ -56,8 +59,8 @@ Kirigami.ApplicationWindow
                 iconName: model.iconName
                 text: display + "
" + toolTip
                 enabled: status & DevicesModel.Reachable
-                checked: root.pageStack.currentDevice == device
-                checkable: true
+                checkable: pageStack.currentItem && pageStack.currentItem.currentDevice == device
+                checked: true
                 onTriggered: {
                     root.pageStack.clear()
                     root.pageStack.push(

-- 
kdeconnect packaging



More information about the pkg-kde-commits mailing list