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/selldialog.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/gui/selldialog.cpp') diff --git a/src/gui/selldialog.cpp b/src/gui/selldialog.cpp index df488e0a0..e9889de91 100644 --- a/src/gui/selldialog.cpp +++ b/src/gui/selldialog.cpp @@ -91,11 +91,11 @@ void SellDialog::init() mMoneyLabel = new Label(strprintf(_("Price: %s / Total: %s"), "", "")); - mIncreaseButton = new Button(_("+"), "inc", this); - mDecreaseButton = new Button(_("-"), "dec", this); - mSellButton = new Button(_("Sell"), "sell", this); - mQuitButton = new Button(_("Quit"), "quit", this); - mAddMaxButton = new Button(_("Max"), "max", this); + mIncreaseButton = new Button(this, _("+"), "inc", this); + mDecreaseButton = new Button(this, _("-"), "dec", this); + mSellButton = new Button(this, _("Sell"), "sell", this); + mQuitButton = new Button(this, _("Quit"), "quit", this); + mAddMaxButton = new Button(this, _("Max"), "max", this); mDecreaseButton->adjustSize(); mDecreaseButton->setWidth(mIncreaseButton->getWidth()); -- cgit v1.2.3-70-g09d2