[SCM] kdeconnect packaging branch, master, updated. debian/0.9g-1-1183-g9d69498
Maximiliano Curia
maxy at moszumanska.debian.org
Fri Oct 14 14:28:58 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/kdeconnect.git;a=commitdiff;h=854e422
The following commit has been merged in the master branch:
commit 854e4227fa98974b677428eb336d89a55c8c9380
Author: Albert Vaca <albertvaka at gmail.com>
Date: Tue Sep 8 08:33:19 2015 -0700
Read the capabilities in the first addLink instead of only the constructor
---
core/device.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/core/device.cpp b/core/device.cpp
index 6f71d50..c1a7535 100644
--- a/core/device.cpp
+++ b/core/device.cpp
@@ -74,8 +74,6 @@ Device::Device(QObject* parent, const NetworkPackage& identityPackage, DeviceLin
, m_deviceType(str2type(identityPackage.get<QString>("deviceType")))
, m_pairStatus(Device::NotPaired)
, m_protocolVersion(identityPackage.get<int>("protocolVersion"))
- , m_incomingCapabilities(identityPackage.get<QStringList>("SupportedIncomingInterfaces", QStringList()).toSet())
- , m_outgoingCapabilities(identityPackage.get<QStringList>("SupportedOutgoingInterfaces", QStringList()).toSet())
{
addLink(identityPackage, dl);
@@ -295,6 +293,8 @@ void Device::addLink(const NetworkPackage& identityPackage, DeviceLink* link)
qSort(m_deviceLinks.begin(), m_deviceLinks.end(), lessThan);
if (m_deviceLinks.size() == 1) {
+ m_incomingCapabilities = identityPackage.get<QStringList>("SupportedIncomingInterfaces", QStringList()).toSet();
+ m_outgoingCapabilities = identityPackage.get<QStringList>("SupportedOutgoingInterfaces", QStringList()).toSet();
reloadPlugins(); //Will load the plugins
Q_EMIT reachableStatusChanged();
} else {
--
kdeconnect packaging
More information about the pkg-kde-commits
mailing list