summaryrefslogtreecommitdiff
path: root/src/gui/editserverdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/editserverdialog.cpp')
-rw-r--r--src/gui/editserverdialog.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/editserverdialog.cpp b/src/gui/editserverdialog.cpp
index 907a706b8..f51236513 100644
--- a/src/gui/editserverdialog.cpp
+++ b/src/gui/editserverdialog.cpp
@@ -81,11 +81,11 @@ EditServerDialog::EditServerDialog(ServerDialog *const parent,
{
setWindowName("EditServerDialog");
- Label *const nameLabel = new Label(_("Name:"));
- Label *const serverAdressLabel = new Label(_("Address:"));
- Label *const portLabel = new Label(_("Port:"));
- Label *const typeLabel = new Label(_("Server type:"));
- Label *const descriptionLabel = new Label(_("Description:"));
+ Label *const nameLabel = new Label(this, _("Name:"));
+ Label *const serverAdressLabel = new Label(this, _("Address:"));
+ Label *const portLabel = new Label(this, _("Port:"));
+ Label *const typeLabel = new Label(this, _("Server type:"));
+ Label *const descriptionLabel = new Label(this, _("Description:"));
mPortField->setNumeric(true);
mPortField->setRange(1, 65535);