summaryrefslogtreecommitdiff
path: root/src/gui/selldialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/selldialog.cpp')
-rw-r--r--src/gui/selldialog.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/gui/selldialog.cpp b/src/gui/selldialog.cpp
index 50757369d..9afd3a554 100644
--- a/src/gui/selldialog.cpp
+++ b/src/gui/selldialog.cpp
@@ -358,9 +358,6 @@ void SellDialog::setVisible(bool visible)
void SellDialog::closeAll()
{
- for (DialogList::const_iterator it = instances.begin(),
- it_end = instances.end(); it != it_end; ++it)
- {
+ FOR_EACH (DialogList::const_iterator, it, instances)
(*it)->close();
- }
}