summaryrefslogtreecommitdiffstats
path: root/kontact/plugins/summary/kcmkontactsummary.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kontact/plugins/summary/kcmkontactsummary.cpp')
-rw-r--r--kontact/plugins/summary/kcmkontactsummary.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/kontact/plugins/summary/kcmkontactsummary.cpp b/kontact/plugins/summary/kcmkontactsummary.cpp
index cf8154168..f21a2bb35 100644
--- a/kontact/plugins/summary/kcmkontactsummary.cpp
+++ b/kontact/plugins/summary/kcmkontactsummary.cpp
@@ -142,8 +142,10 @@ void KCMKontactSummary::load()
mPluginList = KPluginInfo::fromServices( offers, &config, "Plugins" );
KPluginInfo::List::Iterator it;
+ KConfig *conf = new KConfig("kontactrc");
+ KConfigGroup *cg = new KConfigGroup( conf, "Plugins" );
for ( it = mPluginList.begin(); it != mPluginList.end(); ++it ) {
- (*it)->load();
+ (*it)->load( cg );
if ( !(*it)->isPluginEnabled() )
continue;