From ac43daca09be2f66128237049b643f5271781155 Mon Sep 17 00:00:00 2001 From: Laurent Montel Date: Sat, 28 Nov 2009 09:00:57 +0000 Subject: [PATCH] Fix build with const iterator svn path=/trunk/KDE/kdebase/workspace/; revision=1055471 --- effects/minimizeanimation/minimizeanimation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/effects/minimizeanimation/minimizeanimation.cpp b/effects/minimizeanimation/minimizeanimation.cpp index 768c384e55..39f86ac0e4 100644 --- a/effects/minimizeanimation/minimizeanimation.cpp +++ b/effects/minimizeanimation/minimizeanimation.cpp @@ -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