Fix compile with strict iterator

svn path=/trunk/KDE/kdebase/workspace/; revision=1192456
This commit is contained in:
Laurent Montel 2010-11-03 08:34:01 +00:00
parent cbe8b6fb93
commit 0500de6788
2 changed files with 4 additions and 4 deletions

View file

@ -85,7 +85,7 @@ void GlideEffect::prePaintWindow( EffectWindow* w, WindowPrePaintData& data, int
void GlideEffect::paintWindow( EffectWindow* w, int mask, QRegion region, WindowPaintData& data )
{
InfoHash::const_iterator info = windows.find( w );
InfoHash::const_iterator info = windows.constFind( w );
if( info != windows.constEnd() )
{
const double progress = info->timeLine.value();
@ -118,7 +118,7 @@ void GlideEffect::paintWindow( EffectWindow* w, int mask, QRegion region, Window
void GlideEffect::glideIn(EffectWindow* w, WindowPaintData& data )
{
InfoHash::const_iterator info = windows.find( w );
InfoHash::const_iterator info = windows.constFind( w );
if ( info == windows.constEnd() )
return;
const double progress = info->timeLine.value();
@ -131,7 +131,7 @@ void GlideEffect::glideIn(EffectWindow* w, WindowPaintData& data )
void GlideEffect::glideOut(EffectWindow* w, WindowPaintData& data )
{
InfoHash::const_iterator info = windows.find( w );
InfoHash::const_iterator info = windows.constFind( w );
if ( info == windows.constEnd() )
return;
const double progress = info->timeLine.value();

View file

@ -85,7 +85,7 @@ void SheetEffect::prePaintWindow( EffectWindow* w, WindowPrePaintData& data, int
void SheetEffect::paintWindow( EffectWindow* w, int mask, QRegion region, WindowPaintData& data )
{
InfoMap::const_iterator info = windows.find( w );
InfoMap::const_iterator info = windows.constFind( w );
if( info != windows.constEnd() )
{
const double progress = info->timeLine.value();