summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-09-14 15:36:47 +0300
committerAndrei Karas <akaras@inbox.ru>2011-09-14 15:36:47 +0300
commit0abd36c63a6ffd16e998fe1552f822ca351ef2b2 (patch)
treeef2ee4fd8d9fb0383074ddace03eb76e47f0feb4 /src/gui
parent2c73f0e2300c00ec2e1c26ecb7a6c7a500381f0f (diff)
downloadManaVerse-0abd36c63a6ffd16e998fe1552f822ca351ef2b2.tar.gz
ManaVerse-0abd36c63a6ffd16e998fe1552f822ca351ef2b2.tar.bz2
ManaVerse-0abd36c63a6ffd16e998fe1552f822ca351ef2b2.tar.xz
ManaVerse-0abd36c63a6ffd16e998fe1552f822ca351ef2b2.zip
Replace some size() calls to empty().
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/serverdialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/serverdialog.cpp b/src/gui/serverdialog.cpp
index 1b0dd22aa..5a00d4a76 100644
--- a/src/gui/serverdialog.cpp
+++ b/src/gui/serverdialog.cpp
@@ -367,7 +367,7 @@ ServerDialog::ServerDialog(ServerInfo *serverInfo, const std::string &dir):
loadServers(false);
- if (mServers.size() == 0)
+ if (mServers.empty())
downloadServerList();
}