[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [kdeconnect-kde/sslrefactor] core: If interfaces are required is up to the plugin
From:       Aleix Pol <aleixpol () kde ! org>
Date:       2016-05-31 18:55:11
Message-ID: E1b7oop-0004XP-7w () scm ! kde ! org
[Download RAW message or body]

Git commit 702fbd09af627b4fe7f8daabe88c0b11bd7469ee by Aleix Pol.
Committed on 31/05/2016 at 18:46.
Pushed by apol into branch 'sslrefactor'.

If interfaces are required is up to the plugin

M  +1    -1    core/device.cpp

http://commits.kde.org/kdeconnect-kde/702fbd09af627b4fe7f8daabe88c0b11bd7469ee

diff --git a/core/device.cpp b/core/device.cpp
index 9b82b9c..fe215eb 100644
--- a/core/device.cpp
+++ b/core/device.cpp
@@ -125,7 +125,7 @@ void Device::reloadPlugins()
                 supportedOutgoingInterfaces += outgoingInterfaces;
             }
 
-            const bool pluginNeedsCapabilities = !m_incomingCapabilities.isEmpty() \
|| !m_outgoingCapabilities.isEmpty(); +            const bool pluginNeedsCapabilities \
= !incomingInterfaces.isEmpty() || !outgoingInterfaces.isEmpty();  
             //If we don't find intersection with the received on one end and the \
sent on the other, we don't  //let the plugin stay


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic