Commit 49971813 authored by Alexander Lohnau's avatar Alexander Lohnau 💬
Browse files

kcms/baloo: Disable KRunner baloo plugin if indexing is disabled

parent ac46bdbe
Pipeline #122965 passed with stage
in 2 minutes and 58 seconds
......@@ -100,6 +100,11 @@ void ServerConfigModule::save()
QDBusConnection::sessionBus().asyncCall(message);
}
// enable baloo runner if we have indexing enabled, otherwise disable it
KConfig cfg(QStringLiteral("krunnerrc"));
KConfigGroup grp = cfg.group("Plugins");
grp.writeEntry("baloosearchEnabled", balooSettings()->indexingEnabled(), KConfig::Notify);
}
FilteredFolderModel *ServerConfigModule::filteredModel() const
......
Supports Markdown
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