Fix possible crash when alt+tabbing again while coverswitch is closing.

BUG: 170860

svn path=/trunk/KDE/kdebase/workspace/; revision=864225
icc-effect-5.14.5
Martin Gräßlin 2008-09-24 08:45:53 +00:00
parent bd589d3adf
commit d5da6310b4
1 changed files with 1 additions and 1 deletions

View File

@ -567,11 +567,11 @@ void CoverSwitchEffect::tabBoxAdded( int mode )
// only for windows mode
if( mode == TabBoxWindowsMode && effects->currentTabBoxWindowList().count() > 0 )
{
input = effects->createFullScreenInputWindow( this, Qt::BlankCursor );
if( !stop && !stopRequested )
{
effects->refTabBox();
effects->setActiveFullScreenEffect( this );
input = effects->createFullScreenInputWindow( this, Qt::BlankCursor );
selectedWindow = effects->currentTabBoxWindowList().indexOf(effects->currentTabBoxWindow());
mActivated = true;
if( animateStart )