prevent crash where effects doesn't get set up properly; e.g. opengl is selected or is the default but it can't initialize / find support as needed in the opengl implementation
svn path=/trunk/KDE/kdebase/workspace/; revision=671104
This commit is contained in:
parent
7265e1e176
commit
5521cc8ae9
1 changed files with 4 additions and 1 deletions
|
@ -1046,7 +1046,10 @@ void Workspace::slotReconfigure()
|
|||
if( options->useTranslucency )
|
||||
{
|
||||
setupCompositing();
|
||||
effects->reconfigure();
|
||||
if( effects )
|
||||
{
|
||||
effects->reconfigure();
|
||||
}
|
||||
}
|
||||
else
|
||||
finishCompositing();
|
||||
|
|
Loading…
Reference in a new issue