Commit 4a539b36 authored by Arjen Hiemstra's avatar Arjen Hiemstra
Browse files

Be a little more verbose when skipping provider registration

parent 07ad3c23
......@@ -97,10 +97,10 @@ void KSysGuardDaemon::registerProvider(SensorPlugin *provider) {
return plugin->providerName() == provider->providerName();
});
if (itr != m_providers.cend()) {
qWarning() << "Skipping" << provider->providerName() << "as it is already registered";
return;
}
m_providers.append(provider);
const auto containers = provider->containers();
for (auto container : containers) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment