diff --git a/core/device.cpp b/core/device.cpp index a68682249..bbccb963a 100644 --- a/core/device.cpp +++ b/core/device.cpp @@ -113,8 +113,6 @@ void Device::reloadPlugins() if (isTrusted() && isReachable()) { //Do not load any plugin for unpaired devices, nor useless loading them for unreachable devices - KConfigGroup pluginStates = KSharedConfig::openConfig(pluginsConfigFile())->group("Plugins"); - PluginLoader* loader = PluginLoader::instance(); const bool capabilitiesSupported = (m_protocolVersion >= MIN_VERSION_WITH_CAPPABILITIES_SUPPORT);