summaryrefslogtreecommitdiff
path: root/src/gui/logindialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/logindialog.cpp')
-rw-r--r--src/gui/logindialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/logindialog.cpp b/src/gui/logindialog.cpp
index 8b2ff0d7d..e971aa5bc 100644
--- a/src/gui/logindialog.cpp
+++ b/src/gui/logindialog.cpp
@@ -126,7 +126,7 @@ LoginDialog::LoginDialog(LoginData *const data, std::string serverName,
mLoginData->remember)),
mUpdateTypeLabel(new Label(this, _("Update:"))),
mUpdateHostLabel(nullptr),
- mUpdateTypeModel(new UpdateTypeModel()),
+ mUpdateTypeModel(new UpdateTypeModel),
mUpdateTypeDropDown(new DropDown(this, mUpdateTypeModel)),
mServerButton(new Button(this, _("Change Server"), "server", this)),
mLoginButton(new Button(this, _("Login"), "login", this)),