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

BUG: 170860

svn path=/trunk/KDE/kdebase/workspace/; revision=864225
remotes/origin/Plasma/5.0
Martin Gräßlin 18 years ago
parent bd589d3adf
commit d5da6310b4
  1. 2
      effects/coverswitch.cpp

@ -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 )

Loading…
Cancel
Save