diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-20 00:52:01 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-20 13:55:43 +0300 |
commit | 41adf71a823f475b7f12b00e06056b778311da84 (patch) | |
tree | 55925f737e884f756d05a71238f207c03070a7ad /src/gui/serverdialog.cpp | |
parent | 504219f9df4b9dda139dd832e263a136e51c4851 (diff) | |
download | manaverse-41adf71a823f475b7f12b00e06056b778311da84.tar.gz manaverse-41adf71a823f475b7f12b00e06056b778311da84.tar.bz2 manaverse-41adf71a823f475b7f12b00e06056b778311da84.tar.xz manaverse-41adf71a823f475b7f12b00e06056b778311da84.zip |
Add palette inheritance to button class.
Diffstat (limited to 'src/gui/serverdialog.cpp')
-rw-r--r-- | src/gui/serverdialog.cpp | 12 |
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)), |