summaryrefslogtreecommitdiff
path: root/src/gui/widgets/widgetgroup.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/widgetgroup.cpp')
-rw-r--r--src/gui/widgets/widgetgroup.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/widgets/widgetgroup.cpp b/src/gui/widgets/widgetgroup.cpp
index b2b513850..076cf059c 100644
--- a/src/gui/widgets/widgetgroup.cpp
+++ b/src/gui/widgets/widgetgroup.cpp
@@ -55,8 +55,7 @@ void WidgetGroup::addButton(std::string text, std::string tag)
void WidgetGroup::action(const gcn::ActionEvent &event)
{
- ActionListenerIterator iter;
- for (iter = mActionListeners.begin();
+ for (ActionListenerIterator iter = mActionListeners.begin();
iter != mActionListeners.end(); ++iter)
{
(*iter)->action(event);