summaryrefslogtreecommitdiff
path: root/src/gui/serverdialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-20 00:52:01 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-20 13:55:43 +0300
commit41adf71a823f475b7f12b00e06056b778311da84 (patch)
tree55925f737e884f756d05a71238f207c03070a7ad /src/gui/serverdialog.cpp
parent504219f9df4b9dda139dd832e263a136e51c4851 (diff)
downloadmanaplus-41adf71a823f475b7f12b00e06056b778311da84.tar.gz
manaplus-41adf71a823f475b7f12b00e06056b778311da84.tar.bz2
manaplus-41adf71a823f475b7f12b00e06056b778311da84.tar.xz
manaplus-41adf71a823f475b7f12b00e06056b778311da84.zip
Add palette inheritance to button class.
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)),