summaryrefslogtreecommitdiff
path: root/src/gui/editdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/editdialog.cpp')
-rw-r--r--src/gui/editdialog.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/gui/editdialog.cpp b/src/gui/editdialog.cpp
index 94546becb..938bccaad 100644
--- a/src/gui/editdialog.cpp
+++ b/src/gui/editdialog.cpp
@@ -66,11 +66,8 @@ EditDialog::EditDialog(const std::string &title, const std::string &msg,
void EditDialog::action(const gcn::ActionEvent &event)
{
// Proxy button events to our listeners
- for (ActionListenerIterator i = mActionListeners.begin(),
- i_end = mActionListeners.end(); i != i_end; ++i)
- {
+ FOR_EACH (ActionListenerIterator, i, mActionListeners)
(*i)->action(event);
- }
if (event.getId() == mEventOk)
scheduleDelete();