summaryrefslogtreecommitdiff
path: root/src/gui/serverdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/serverdialog.cpp')
-rw-r--r--src/gui/serverdialog.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gui/serverdialog.cpp b/src/gui/serverdialog.cpp
index 223eb464c..63c03b0a2 100644
--- a/src/gui/serverdialog.cpp
+++ b/src/gui/serverdialog.cpp
@@ -248,12 +248,12 @@ ServerDialog::ServerDialog(ServerInfo *const serverInfo,
gcn::KeyListener(),
gcn::SelectionListener(),
mDescription(new Label(std::string())),
- mQuitButton(new Button(_("Quit"), "quit", this)),
- mConnectButton(new Button(_("Connect"), "connect", this)),
- mAddEntryButton(new Button(_("Add"), "addEntry", this)),
- mEditEntryButton(new Button(_("Edit"), "editEntry", this)),
- mDeleteButton(new Button(_("Delete"), "remove", this)),
- mLoadButton(new Button(_("Load"), "load", this)),
+ mQuitButton(new Button(this, _("Quit"), "quit", this)),
+ mConnectButton(new Button(this, _("Connect"), "connect", this)),
+ mAddEntryButton(new Button(this, _("Add"), "addEntry", this)),
+ mEditEntryButton(new Button(this, _("Edit"), "editEntry", this)),
+ mDeleteButton(new Button(this, _("Delete"), "remove", this)),
+ mLoadButton(new Button(this, _("Load"), "load", this)),
mServers(ServerInfos()),
mServersListModel(new ServersListModel(&mServers, this)),
mServersList(new ServersListBox(this, mServersListModel)),