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

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


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

The following commit has been merged in the master branch:
commit 63488781b9fa4d1a08bc76e63661c6219982cb98
Author: Mauro Panzeri <damonhill82 at gmail.com>
Date:   Mon Oct 14 18:25:44 2013 +0200

    Update device name on reconnection
    
    Since the remote device can now change its name, re-read the device name from
    the identityPackage
    
    REVIEW: 113203
---
 kded/device.cpp | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/kded/device.cpp b/kded/device.cpp
index a7c501e..aee0c8b 100644
--- a/kded/device.cpp
+++ b/kded/device.cpp
@@ -200,6 +200,9 @@ void Device::addLink(const NetworkPackage& identityPackage, DeviceLink* link)
 
     m_deviceLinks.append(link);
 
+    //re-read the device name from the identityPackage because it could have changed
+    m_deviceName = identityPackage.get<QString>("deviceName");
+
     //TODO: Do not read the key every time
     KSharedConfigPtr config = KSharedConfig::openConfig("kdeconnectrc");
     const QString& key = config->group("myself").readEntry<QString>("privateKey",QString());

-- 
kdeconnect packaging



More information about the pkg-kde-commits mailing list