Clean up also the overlay window on failure.
svn path=/trunk/KDE/kdebase/workspace/; revision=669838icc-effect-5.14.5
parent
2312220686
commit
de8fa6c883
|
@ -157,6 +157,7 @@ SceneOpenGL::~SceneOpenGL()
|
||||||
if( !init_ok )
|
if( !init_ok )
|
||||||
{
|
{
|
||||||
// TODO this probably needs to clean up whatever has been created until the failure
|
// TODO this probably needs to clean up whatever has been created until the failure
|
||||||
|
wspace->destroyOverlay();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
foreach( Window* w, windows )
|
foreach( Window* w, windows )
|
||||||
|
|
Loading…
Reference in New Issue