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

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


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

The following commit has been merged in the master branch:
commit 6aa058bfd4c92a5122072cdc279896326195b471
Author: Albert Vaca <albertvaka at gmail.com>
Date:   Wed Nov 23 17:20:59 2016 +0100

    Fixed kdeconnect-cli never reporting devices as paired
---
 cli/kdeconnect-cli.cpp | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/cli/kdeconnect-cli.cpp b/cli/kdeconnect-cli.cpp
index a172774..a9cbffd 100644
--- a/cli/kdeconnect-cli.cpp
+++ b/cli/kdeconnect-cli.cpp
@@ -93,13 +93,15 @@ int main(int argc, char** argv)
             } else {
                 DeviceDbusInterface deviceIface(id);
                 QString statusInfo;
-                const bool isReachable = deviceIface.isReachable(), isPaired = deviceIface.property("isPaired").toBool();
-                if (isReachable && isPaired) {
+                const bool isReachable = deviceIface.isReachable();
+                const bool isTrusted = deviceIface.isTrusted();
+                if (isReachable && isTrusted) {
                     statusInfo = i18n("(paired and reachable)");
                 } else if (isReachable) {
                     statusInfo = i18n("(reachable)");
-                } else if (isPaired)
+                } else if (isTrusted) {
                     statusInfo = i18n("(paired)");
+                }
                 QTextStream(stdout) << "- " << deviceIface.name()
                         << ": " << deviceIface.id() << ' ' << statusInfo << endl;
             }

-- 
kdeconnect packaging



More information about the pkg-kde-commits mailing list