Specify for which device we're not delivering the packages

This commit is contained in:
Aleix Pol 2016-06-12 20:16:19 +02:00
parent bdff499965
commit b9be1e17d1

View file

@ -332,7 +332,7 @@ void Device::privateReceivedPackage(const NetworkPackage& np)
} else if (isTrusted()) { } else if (isTrusted()) {
const QList<KdeConnectPlugin*> plugins = m_pluginsByIncomingInterface.values(np.type()); const QList<KdeConnectPlugin*> plugins = m_pluginsByIncomingInterface.values(np.type());
if (plugins.isEmpty()) { if (plugins.isEmpty()) {
qWarning() << "discarding unsupported package" << np.type(); qWarning() << "discarding unsupported package" << np.type() << "for" << name();
} }
foreach(KdeConnectPlugin* plugin, plugins) { foreach(KdeConnectPlugin* plugin, plugins) {
plugin->receivePackage(np); plugin->receivePackage(np);