EffectFrame should be freed at end of cube animation, not at start of stop animation.

svn path=/trunk/KDE/kdebase/workspace/; revision=1003585
This commit is contained in:
Martin Gräßlin 2009-07-28 12:20:19 +00:00
parent 9f02ea9b3a
commit 102b3c791b

View file

@ -1151,6 +1151,7 @@ void CubeEffect::postPaintScreen()
// delete the GL lists
glDeleteLists( glList, 3 );
desktopNameFrame.free();
}
effects->addRepaintFull();
}
@ -2039,7 +2040,6 @@ void CubeEffect::setActive( bool active )
mousePolling = false;
}
schedule_close = true;
desktopNameFrame.free();
// we have to add a repaint, to start the deactivating
effects->addRepaintFull();
}