diff --git a/lib/kdecoration_plugins_p.cpp b/lib/kdecoration_plugins_p.cpp index b5d618d2a3..13da247ccb 100644 --- a/lib/kdecoration_plugins_p.cpp +++ b/lib/kdecoration_plugins_p.cpp @@ -78,8 +78,12 @@ bool KDecorationPlugins::reset( unsigned long changed ) if(( !loadPlugin( "" ) && library ) // "" = read the one in cfg file || oldPlugin == pluginStr ) { // no new plugin loaded, reset the old one - assert( fact != NULL ); + // assert( fact != NULL ); + if(fact != NULL) + { ret = fact->reset( changed ); + } + } return ret || oldPlugin != pluginStr; }