diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-03-27 19:23:34 +0100 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-03-27 20:18:11 +0100 |
commit | ff5e1957dd4fde40e41e4c5e4b9e04e1f36e5ef2 (patch) | |
tree | eba1b1374325047de928490f96fc16cbf5477d70 /src/gui/changepassworddialog.cpp | |
parent | 74f23fd3d0e1fb3be8e5419193d57d91746c887a (diff) | |
download | mana-ff5e1957dd4fde40e41e4c5e4b9e04e1f36e5ef2.tar.gz mana-ff5e1957dd4fde40e41e4c5e4b9e04e1f36e5ef2.tar.bz2 mana-ff5e1957dd4fde40e41e4c5e4b9e04e1f36e5ef2.tar.xz mana-ff5e1957dd4fde40e41e4c5e4b9e04e1f36e5ef2.zip |
Removed unnecessary parenthesis on constructors
Diffstat (limited to 'src/gui/changepassworddialog.cpp')
-rw-r--r-- | src/gui/changepassworddialog.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/changepassworddialog.cpp b/src/gui/changepassworddialog.cpp index 7c1e5bcd..4bc97326 100644 --- a/src/gui/changepassworddialog.cpp +++ b/src/gui/changepassworddialog.cpp @@ -41,16 +41,16 @@ ChangePasswordDialog::ChangePasswordDialog(Window *parent, LoginData *loginData): Window(_("Change Password"), true, parent), - mWrongDataNoticeListener(new WrongDataNoticeListener()), + mWrongDataNoticeListener(new WrongDataNoticeListener), mLoginData(loginData) { gcn::Label *accountLabel = new gcn::Label(strprintf(_("Account: %s"), mLoginData->username.c_str())); gcn::Label *oldPassLabel = new gcn::Label(_("Password:")); - mOldPassField = new PasswordField(); + mOldPassField = new PasswordField; gcn::Label *newPassLabel = new gcn::Label(_("Type New Password twice:")); - mFirstPassField = new PasswordField(); - mSecondPassField = new PasswordField(); + mFirstPassField = new PasswordField; + mSecondPassField = new PasswordField; mChangePassButton = new Button(_("Change Password"), "change_password", this); mCancelButton = new Button(_("Cancel"), "cancel", this); |