From 702fbd09af627b4fe7f8daabe88c0b11bd7469ee Mon Sep 17 00:00:00 2001 From: Aleix Pol Date: Tue, 31 May 2016 20:46:48 +0200 Subject: [PATCH] If interfaces are required is up to the plugin --- core/device.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/device.cpp b/core/device.cpp index 9b82b9cd5..fe215eb29 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