Verified Commit 9e601ec4 authored by Alexander Lohnau's avatar Alexander Lohnau 💬
Browse files

kcmkontact: Assume all plugins are enabled by default

If one does not have any changed settings, all the plugins are disabled
parent 26db2686
......@@ -83,7 +83,7 @@ void KcmKontact::load()
// skip disabled plugins
const QString pluginName = plugin.pluginId();
if (!grp.readEntry(pluginName + QStringLiteral("Enabled"), false)) {
if (!grp.readEntry(pluginName + QStringLiteral("Enabled"), true)) {
const QStandardItemModel *qsm = qobject_cast<QStandardItemModel *>(mPluginCombo->model());
if (qsm) {
qsm->item(mPluginCombo->count() - 1, 0)->setEnabled(false);
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