[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [kdeconnect-kde/sslrefactor] core: better debug information
From: Aleix Pol <aleixpol () kde ! org>
Date: 2016-05-31 23:22:49
Message-ID: E1b7szp-0005QX-2J () scm ! kde ! org
[Download RAW message or body]
Git commit 70d447f58faa35f27e20d57fd49833f57ae43863 by Aleix Pol.
Committed on 31/05/2016 at 23:14.
Pushed by apol into branch 'sslrefactor'.
better debug information
M +5 -1 core/device.cpp
http://commits.kde.org/kdeconnect-kde/70d447f58faa35f27e20d57fd49833f57ae43=
863
diff --git a/core/device.cpp b/core/device.cpp
index fe215eb..f4c70a2 100644
--- a/core/device.cpp
+++ b/core/device.cpp
@@ -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_outgoingCapabi=
lities.isEmpty()) {
+ qCWarning(KDECONNECT_CORE) << "not loading " << plugin=
Name << "because of unmatched capabilities" <<
+ outgoingInterfaces << incomingInterfaces;
+ }
+
unsupportedPlugins.append(pluginName);
continue;
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic