diff options
Diffstat (limited to 'src/gui/widgets/setuptabscroll.cpp')
-rw-r--r-- | src/gui/widgets/setuptabscroll.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gui/widgets/setuptabscroll.cpp b/src/gui/widgets/setuptabscroll.cpp index f3f8b1526..13c2668f5 100644 --- a/src/gui/widgets/setuptabscroll.cpp +++ b/src/gui/widgets/setuptabscroll.cpp @@ -87,8 +87,8 @@ void SetupTabScroll::addControl(SetupItem *widget, std::string event) void SetupTabScroll::apply() { - std::map<std::string, SetupItem*>::const_iterator iter; - for (iter = mItems.begin(); iter != mItems.end(); ++ iter) + for (std::map<std::string, SetupItem*>::const_iterator + iter = mItems.begin(); iter != mItems.end(); ++ iter) { if ((*iter).second) (*iter).second->apply((*iter).first); @@ -97,8 +97,8 @@ void SetupTabScroll::apply() void SetupTabScroll::cancel() { - std::map<std::string, SetupItem*>::const_iterator iter; - for (iter = mItems.begin(); iter != mItems.end(); ++ iter) + for (std::map<std::string, SetupItem*>::const_iterator + iter = mItems.begin(); iter != mItems.end(); ++ iter) { if ((*iter).second) (*iter).second->cancel((*iter).first); @@ -107,8 +107,8 @@ void SetupTabScroll::cancel() void SetupTabScroll::externalUpdated() { - std::map<std::string, SetupItem*>::const_iterator iter; - for (iter = mItems.begin(); iter != mItems.end(); ++ iter) + for (std::map<std::string, SetupItem*>::const_iterator + iter = mItems.begin(); iter != mItems.end(); ++ iter) { SetupItem *widget = (*iter).second; if (widget && !widget->isMainConfig()) |