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

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


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

The following commit has been merged in the master branch:
commit 35d2f8472c857dd54c57d0c4c278fc05c9d7b03f
Author: Albert Vaca <albertvaka at gmail.com>
Date:   Wed Nov 6 18:34:51 2013 +0100

    Added deviceType to the identity packages
    
    This will tell if we are a phone, tablet, laptop or desktop
---
 kded/networkpackage.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/kded/networkpackage.cpp b/kded/networkpackage.cpp
index ea63d06..89815d8 100644
--- a/kded/networkpackage.cpp
+++ b/kded/networkpackage.cpp
@@ -56,6 +56,7 @@ void NetworkPackage::createIdentityPackage(NetworkPackage* np)
     np->mPayloadSize = 0;
     np->set("deviceId", id);
     np->set("deviceName", QHostInfo::localHostName());
+    np->set("protocolType", "desktop"); //TODO: Detect laptop, tablet, phone...
     np->set("protocolVersion",  NetworkPackage::ProtocolVersion);
 
     //qDebug() << "createIdentityPackage" << np->serialize();

-- 
kdeconnect packaging



More information about the pkg-kde-commits mailing list