diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-03-27 15:17:51 +0100 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-03-27 15:17:51 +0100 |
commit | 3efa949fca06f9a1cad04ff7da8107096ed55044 (patch) | |
tree | a1c7eba105129a028631c5be222140c014a66ae6 /src/gui/login.cpp | |
parent | e480ad5d269ca8dcd200397f7e6157b3e46c5c02 (diff) | |
download | mana-3efa949fca06f9a1cad04ff7da8107096ed55044.tar.gz mana-3efa949fca06f9a1cad04ff7da8107096ed55044.tar.bz2 mana-3efa949fca06f9a1cad04ff7da8107096ed55044.tar.xz mana-3efa949fca06f9a1cad04ff7da8107096ed55044.zip |
Simplified and fixed initialization of login data
Command line parameters were being overridden by old configuration
settings.
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 281a25a2..de328fcc 100644 --- a/src/gui/login.cpp +++ b/src/gui/login.cpp @@ -45,7 +45,8 @@ static const int LOGIN_DIALOG_HEIGHT = 140; static const int FIELD_WIDTH = LOGIN_DIALOG_WIDTH - 70; LoginDialog::LoginDialog(LoginData *loginData): - Window(_("Login")), mLoginData(loginData) + Window(_("Login")), + mLoginData(loginData) { gcn::Label *userLabel = new Label(_("Name:")); gcn::Label *passLabel = new Label(_("Password:")); |