From 41adf71a823f475b7f12b00e06056b778311da84 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 20 Oct 2012 00:52:01 +0300 Subject: Add palette inheritance to button class. --- src/gui/serverdialog.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/gui/serverdialog.cpp') 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)), -- cgit v1.2.3-70-g09d2