proxy() not const

remove the ignored windows that are deleted

svn path=/trunk/KDE/kdebase/workspace/; revision=1021452
This commit is contained in:
Marco Martin 2009-09-09 08:31:42 +00:00
parent c66c2f05e5
commit 282d85e859
2 changed files with 3 additions and 3 deletions

View file

@ -33,7 +33,7 @@ FadeEffect::FadeEffect()
reconfigure( ReconfigureAll );
}
const void* FadeEffect::proxy() const
void* FadeEffect::proxy()
{
return &m_proxy;
}
@ -199,6 +199,7 @@ void FadeEffect::windowClosed( EffectWindow* w )
void FadeEffect::windowDeleted( EffectWindow* w )
{
windows.remove( w );
ignoredWindows.remove( w );
}
void FadeEffect::setWindowIgnored( EffectWindow* w, bool ignore )

View file

@ -43,8 +43,7 @@ class FadeEffect
virtual void windowAdded( EffectWindow* c );
virtual void windowClosed( EffectWindow* c );
virtual void windowDeleted( EffectWindow* c );
virtual const void* proxy() const;
virtual void* proxy();
void setWindowIgnored( EffectWindow* w, bool ignore );
bool isFadeWindow( EffectWindow* w );