Prevent present windows from crashing if the highlighted window from the

previous activation is closed and the effect is activated a second time.
BUG: 179537

svn path=/trunk/KDE/kdebase/workspace/; revision=933171
This commit is contained in:
Lucas Murray 2009-02-28 09:21:54 +00:00
parent 0ffcc70c18
commit d5ef2a7a87

View file

@ -1136,6 +1136,7 @@ void PresentWindowsEffect::setActive( bool active, bool closingTab )
if( m_activated )
{
m_decalOpacity = 0.0;
m_highlightedWindow = NULL;
m_windowFilter.clear();
// Add every single window to m_windowData (Just calling [w] creates it)