diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-09-14 15:36:47 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-09-14 15:36:47 +0300 |
commit | 0abd36c63a6ffd16e998fe1552f822ca351ef2b2 (patch) | |
tree | ef2ee4fd8d9fb0383074ddace03eb76e47f0feb4 /src/gui/serverdialog.cpp | |
parent | 2c73f0e2300c00ec2e1c26ecb7a6c7a500381f0f (diff) | |
download | mv-0abd36c63a6ffd16e998fe1552f822ca351ef2b2.tar.gz mv-0abd36c63a6ffd16e998fe1552f822ca351ef2b2.tar.bz2 mv-0abd36c63a6ffd16e998fe1552f822ca351ef2b2.tar.xz mv-0abd36c63a6ffd16e998fe1552f822ca351ef2b2.zip |
Replace some size() calls to empty().
Diffstat (limited to 'src/gui/serverdialog.cpp')
-rw-r--r-- | src/gui/serverdialog.cpp | 2 |
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(); } |