summaryrefslogtreecommitdiff
path: root/src/gui/changeemaildialog.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-03-27 19:23:34 +0100
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-03-27 20:18:11 +0100
commitff5e1957dd4fde40e41e4c5e4b9e04e1f36e5ef2 (patch)
treeeba1b1374325047de928490f96fc16cbf5477d70 /src/gui/changeemaildialog.cpp
parent74f23fd3d0e1fb3be8e5419193d57d91746c887a (diff)
downloadmana-ff5e1957dd4fde40e41e4c5e4b9e04e1f36e5ef2.tar.gz
mana-ff5e1957dd4fde40e41e4c5e4b9e04e1f36e5ef2.tar.bz2
mana-ff5e1957dd4fde40e41e4c5e4b9e04e1f36e5ef2.tar.xz
mana-ff5e1957dd4fde40e41e4c5e4b9e04e1f36e5ef2.zip
Removed unnecessary parenthesis on constructors
Diffstat (limited to 'src/gui/changeemaildialog.cpp')
-rw-r--r--src/gui/changeemaildialog.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/changeemaildialog.cpp b/src/gui/changeemaildialog.cpp
index 0ed95bd7..14cfb1e7 100644
--- a/src/gui/changeemaildialog.cpp
+++ b/src/gui/changeemaildialog.cpp
@@ -40,14 +40,14 @@
ChangeEmailDialog::ChangeEmailDialog(Window *parent, LoginData *loginData):
Window(_("Change Email Address"), 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 *newEmailLabel = new gcn::Label(_("Type New Email Address twice:"));
- mFirstEmailField = new TextField();
- mSecondEmailField = new TextField();
+ mFirstEmailField = new TextField;
+ mSecondEmailField = new TextField;
mChangeEmailButton = new Button(_("Change Email Address"), "change_email", this);
mCancelButton = new Button(_("Cancel"), "cancel", this);