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
icc-effect-5.14.5
Aaron J. Seigo 2007-06-03 19:48:27 +00:00
parent 7265e1e176
commit 5521cc8ae9
1 changed files with 4 additions and 1 deletions

View File

@ -1046,7 +1046,10 @@ void Workspace::slotReconfigure()
if( options->useTranslucency )
{
setupCompositing();
effects->reconfigure();
if( effects )
{
effects->reconfigure();
}
}
else
finishCompositing();