Commit patch from SlashDevDsp fixing #223515

crashed kcmkwin/kwindecoration

No need to backport to 4.4


svn path=/trunk/KDE/kdebase/workspace/; revision=1087519
This commit is contained in:
Xavier Vello 2010-02-09 09:54:27 +00:00
parent 333774e31c
commit 070555e59e

View file

@ -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;
}