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

Maximiliano Curia maxy at moszumanska.debian.org
Fri Oct 14 14:28:59 UTC 2016


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

The following commit has been merged in the master branch:
commit b101e828a42d903d6bba441c20e3ca0a6b6abd65
Author: Aleix Pol <aleixpol at kde.org>
Date:   Tue Sep 8 17:58:40 2015 +0200

    Fix capabilities detection
    
    Only consider capabilities as unsupported if both incoming and outgoing are
    empty, rather than either.
    
    Reviewed by Albert Vaca
---
 core/device.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/device.cpp b/core/device.cpp
index 2592322..79562f1 100644
--- a/core/device.cpp
+++ b/core/device.cpp
@@ -133,7 +133,7 @@ void Device::reloadPlugins()
                 //let the plugin stay
                 //Also, if no capabilities are specified on the other end, we don't apply this optimizaton, as
                 //we assume that the other client doesn't know about capabilities.
-                if (!m_incomingCapabilities.isEmpty() && !m_outgoingCapabilities.isEmpty()
+                if ((!m_incomingCapabilities.isEmpty() || !m_outgoingCapabilities.isEmpty())
                     && (m_incomingCapabilities & outgoingInterfaces).isEmpty()
                     && (m_outgoingCapabilities & incomingInterfaces).isEmpty()
                 ) {

-- 
kdeconnect packaging



More information about the pkg-kde-commits mailing list