summaryrefslogtreecommitdiff
path: root/src/gui/serverdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/serverdialog.cpp')
-rw-r--r--src/gui/serverdialog.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/serverdialog.cpp b/src/gui/serverdialog.cpp
index 1c4ad195b..e2ef3fb01 100644
--- a/src/gui/serverdialog.cpp
+++ b/src/gui/serverdialog.cpp
@@ -708,8 +708,7 @@ void ServerDialog::saveCustomServers(const ServerInfo &currentServer,
}
else
{
- for (ServerInfos::iterator i = mServers.begin(),
- i_end = mServers.end(); i != i_end; ++i)
+ FOR_EACH (ServerInfos::iterator, i, mServers)
{
if (*i == currentServer)
{