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=671104icc-effect-5.14.5
parent
7265e1e176
commit
5521cc8ae9
|
@ -1046,7 +1046,10 @@ void Workspace::slotReconfigure()
|
||||||
if( options->useTranslucency )
|
if( options->useTranslucency )
|
||||||
{
|
{
|
||||||
setupCompositing();
|
setupCompositing();
|
||||||
effects->reconfigure();
|
if( effects )
|
||||||
|
{
|
||||||
|
effects->reconfigure();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
finishCompositing();
|
finishCompositing();
|
||||||
|
|
Loading…
Reference in New Issue