SVN_SILENT Fix crash in present windows.
BUG: 185239 svn path=/trunk/KDE/kdebase/workspace/; revision=930007
This commit is contained in:
parent
c1d5937a66
commit
be268c1f4c
1 changed files with 6 additions and 3 deletions
|
@ -277,9 +277,12 @@ void PresentWindowsEffect::windowClosed( EffectWindow *w )
|
|||
|
||||
void PresentWindowsEffect::windowDeleted( EffectWindow *w )
|
||||
{
|
||||
delete m_windowData[w].textFrame;
|
||||
delete m_windowData[w].iconFrame;
|
||||
m_windowData.remove( w );
|
||||
if( m_windowData.contains( w ))
|
||||
{
|
||||
delete m_windowData[w].textFrame;
|
||||
delete m_windowData[w].iconFrame;
|
||||
m_windowData.remove( w );
|
||||
}
|
||||
m_motionManager.unmanage( w );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue