summaryrefslogtreecommitdiff
path: root/src/gui/login.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2004-12-23 17:05:58 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2004-12-23 17:05:58 +0000
commitcf59ec424306ceec1f1ff5c642c10a0c0db44985 (patch)
tree4003c1be403d26ab10f4fa4a8b9f5d9e49a7ce33 /src/gui/login.cpp
parent3a9ae4770fcfec80c660fd9351ecea8c3c9bc913 (diff)
downloadmana-client-cf59ec424306ceec1f1ff5c642c10a0c0db44985.tar.gz
mana-client-cf59ec424306ceec1f1ff5c642c10a0c0db44985.tar.bz2
mana-client-cf59ec424306ceec1f1ff5c642c10a0c0db44985.tar.xz
mana-client-cf59ec424306ceec1f1ff5c642c10a0c0db44985.zip
Password masking is back!
Diffstat (limited to 'src/gui/login.cpp')
-rw-r--r--src/gui/login.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/login.cpp b/src/gui/login.cpp
index 4ba0fe67..252d9929 100644
--- a/src/gui/login.cpp
+++ b/src/gui/login.cpp
@@ -26,6 +26,7 @@
#include "button.h"
#include "checkbox.h"
#include "textfield.h"
+#include "passwordfield.h"
#include "../graphic/graphic.h"
@@ -35,7 +36,7 @@ LoginDialog::LoginDialog(gcn::Container *parent):
userLabel = new gcn::Label("Name:");
passLabel = new gcn::Label("Password:");
userField = new TextField("player");
- passField = new TextField();
+ passField = new PasswordField();
keepCheck = new CheckBox("Keep", false);
okButton = new Button("OK");
cancelButton = new Button("Cancel");