From 531433248fbad49e2b8e9d90de9855f3ea9b2257 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 20 Jan 2013 19:01:23 +0300 Subject: Another part with FOR_EACH changes. --- src/gui/theme.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/gui/theme.cpp') diff --git a/src/gui/theme.cpp b/src/gui/theme.cpp index f2ce534a7..4ff1f8ea4 100644 --- a/src/gui/theme.cpp +++ b/src/gui/theme.cpp @@ -341,9 +341,7 @@ void Theme::setMinimumOpacity(const float minimumOpacity) void Theme::updateAlpha() { - for (SkinIterator iter = mSkins.begin(), iter_end = mSkins.end(); - iter != iter_end; - ++ iter) + FOR_EACH (SkinIterator, iter, mSkins) { if (iter->second) iter->second->updateAlpha(mMinimumOpacity); -- cgit v1.2.3-70-g09d2