diff options
author | Björn Steinbrink <B.Steinbrink@gmx.de> | 2006-03-19 11:52:27 +0000 |
---|---|---|
committer | Björn Steinbrink <B.Steinbrink@gmx.de> | 2006-03-19 11:52:27 +0000 |
commit | 19d5cc3a6bbbd911361b7e8b956840d0189d4c2b (patch) | |
tree | 5eb8b94f7832bdbb6d21c7ded6e6da6b5f8f3464 /src/gui/login.cpp | |
parent | 59399a274c694e9dc467149828b57f47794eeaeb (diff) | |
download | mana-19d5cc3a6bbbd911361b7e8b956840d0189d4c2b.tar.gz mana-19d5cc3a6bbbd911361b7e8b956840d0189d4c2b.tar.bz2 mana-19d5cc3a6bbbd911361b7e8b956840d0189d4c2b.tar.xz mana-19d5cc3a6bbbd911361b7e8b956840d0189d4c2b.zip |
Removed some duplicate initializations.
Diffstat (limited to 'src/gui/login.cpp')
-rw-r--r-- | src/gui/login.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/login.cpp b/src/gui/login.cpp index ee648669..c0dd9245 100644 --- a/src/gui/login.cpp +++ b/src/gui/login.cpp @@ -63,7 +63,7 @@ LoginDialog::LoginDialog(LoginData *loginData): mUserField = new TextField(mLoginData->username); mPassField = new PasswordField(mLoginData->password); mServerField = new TextField(mLoginData->hostname); - mKeepCheck = new CheckBox("Keep", false); + mKeepCheck = new CheckBox("Keep", mLoginData->remember); mOkButton = new Button("OK", "ok", this); mCancelButton = new Button("Cancel", "cancel", this); mRegisterButton = new Button("Register", "register", this); @@ -82,7 +82,6 @@ LoginDialog::LoginDialog(LoginData *loginData): mPassField->setWidth(130); mServerField->setWidth(130); mKeepCheck->setPosition(4, 77); - mKeepCheck->setMarked(mLoginData->remember); mCancelButton->setPosition( 200 - mCancelButton->getWidth() - 5, 100 - mCancelButton->getHeight() - 5); |