diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2004-12-23 17:05:58 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2004-12-23 17:05:58 +0000 |
commit | cf59ec424306ceec1f1ff5c642c10a0c0db44985 (patch) | |
tree | 4003c1be403d26ab10f4fa4a8b9f5d9e49a7ce33 /src/gui/login.cpp | |
parent | 3a9ae4770fcfec80c660fd9351ecea8c3c9bc913 (diff) | |
download | mana-cf59ec424306ceec1f1ff5c642c10a0c0db44985.tar.gz mana-cf59ec424306ceec1f1ff5c642c10a0c0db44985.tar.bz2 mana-cf59ec424306ceec1f1ff5c642c10a0c0db44985.tar.xz mana-cf59ec424306ceec1f1ff5c642c10a0c0db44985.zip |
Password masking is back!
Diffstat (limited to 'src/gui/login.cpp')
-rw-r--r-- | src/gui/login.cpp | 3 |
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"); |