Fix build with const iterator

svn path=/trunk/KDE/kdebase/workspace/; revision=1055471
This commit is contained in:
Laurent Montel 2009-11-28 09:00:57 +00:00
parent f8ad089c05
commit ac43daca09

View file

@ -80,7 +80,7 @@ void MinimizeAnimationEffect::prePaintWindow( EffectWindow* w, WindowPrePaintDat
void MinimizeAnimationEffect::paintWindow( EffectWindow* w, int mask, QRegion region, WindowPaintData& data )
{
QHash< EffectWindow*, TimeLine >::const_iterator entry = mTimeLineWindows.find(w);
QHash< EffectWindow*, TimeLine >::const_iterator entry = mTimeLineWindows.constFind(w);
if( entry != mTimeLineWindows.constEnd() )
{
// 0 = not minimized, 1 = fully minimized