summaryrefslogtreecommitdiff
path: root/src/gui/serverdialog.h
diff options
context:
space:
mode:
authorStefan Dombrowski <stefan@uni-bonn.de>2011-04-30 14:52:03 +0200
committerStefan Dombrowski <stefan@uni-bonn.de>2011-04-30 14:52:03 +0200
commitfe87acd14acd2aa33c9b8a03a77d80d6a7648f1b (patch)
treedbf7b84349728b3abcf88fade6ea3d3f5da1ecc8 /src/gui/serverdialog.h
parenta4d74829e50d9082deb1a9973bd3360d6babd147 (diff)
downloadmana-fe87acd14acd2aa33c9b8a03a77d80d6a7648f1b.tar.gz
mana-fe87acd14acd2aa33c9b8a03a77d80d6a7648f1b.tar.bz2
mana-fe87acd14acd2aa33c9b8a03a77d80d6a7648f1b.tar.xz
mana-fe87acd14acd2aa33c9b8a03a77d80d6a7648f1b.zip
Revert "Add option for sorting servers list"
This reverts commits e35b3bdd0a74464e4b4d3b931ca416f0c7864ba6 and e35b3bdd0a74464e4b4d3b931ca416f0c7864ba6. Sometimes the text fields and the list show different server selected, so you don't see to what server you connect. It is a big security risk sending your user name and password to the wrong server. Reviewed-by: Freeyorp, Bertram
Diffstat (limited to 'src/gui/serverdialog.h')
-rw-r--r--src/gui/serverdialog.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/gui/serverdialog.h b/src/gui/serverdialog.h
index d34fbb9f..bf0a43d6 100644
--- a/src/gui/serverdialog.h
+++ b/src/gui/serverdialog.h
@@ -150,11 +150,6 @@ class ServerDialog : public Window,
void setFieldsReadOnly(bool readOnly);
- static bool sortByLastUsage(const ServerInfo& serv1, const ServerInfo& serv2);
- static bool sortByName(const ServerInfo& serv1, const ServerInfo& serv2);
-
- void reorderList(int orderBy);
-
TextField *mServerNameField;
TextField *mPortField;
Label *mDescription;