better debug information

This commit is contained in:
Aleix Pol 2016-06-01 01:14:30 +02:00
parent 8805fed666
commit 70d447f58f

View file

@ -133,7 +133,11 @@ void Device::reloadPlugins()
&& (m_incomingCapabilities & outgoingInterfaces).isEmpty()
&& (m_outgoingCapabilities & incomingInterfaces).isEmpty()
) {
qCWarning(KDECONNECT_CORE) << "not loading " << pluginName << "because of unmatched capabilities";
if (!m_incomingCapabilities.isEmpty() || !m_outgoingCapabilities.isEmpty()) {
qCWarning(KDECONNECT_CORE) << "not loading " << pluginName << "because of unmatched capabilities" <<
outgoingInterfaces << incomingInterfaces;
}
unsupportedPlugins.append(pluginName);
continue;
}