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:
parent
333774e31c
commit
070555e59e
1 changed files with 5 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue