diff --git a/lib/kdecoration_plugins_p.cpp b/lib/kdecoration_plugins_p.cpp index 8ef43e0944..f21a41f20d 100644 --- a/lib/kdecoration_plugins_p.cpp +++ b/lib/kdecoration_plugins_p.cpp @@ -95,8 +95,8 @@ bool KDecorationPlugins::loadPlugin( QString nameStr ) { if( nameStr.isEmpty()) { - KConfigGroupSaver saver( config, "Style" ); - nameStr = config->readEntry("PluginLib", defaultPlugin ); + KConfigGroup saver( config, "Style" ); + nameStr = saver.readEntry("PluginLib", defaultPlugin ); } // make sure people can switch between HEAD and kwin_iii branch if( nameStr.startsWith( "kwin_" ))