summaryrefslogtreecommitdiff
path: root/src/gui/tradewindow.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/tradewindow.cpp
parent504219f9df4b9dda139dd832e263a136e51c4851 (diff)
downloadplus-41adf71a823f475b7f12b00e06056b778311da84.tar.gz
plus-41adf71a823f475b7f12b00e06056b778311da84.tar.bz2
plus-41adf71a823f475b7f12b00e06056b778311da84.tar.xz
plus-41adf71a823f475b7f12b00e06056b778311da84.zip
Add palette inheritance to button class.
Diffstat (limited to 'src/gui/tradewindow.cpp')
-rw-r--r--src/gui/tradewindow.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/tradewindow.cpp b/src/gui/tradewindow.cpp
index fb361d8c0..a34936c0c 100644
--- a/src/gui/tradewindow.cpp
+++ b/src/gui/tradewindow.cpp
@@ -68,9 +68,9 @@ TradeWindow::TradeWindow():
mMyItemContainer(new ItemContainer(mMyInventory.get())),
mPartnerItemContainer(new ItemContainer(mPartnerInventory.get())),
mMoneyLabel(new Label(strprintf(_("You get %s"), ""))),
- mAddButton(new Button(_("Add"), "add", this)),
- mOkButton(new Button("", "", this)), // Will be filled in later
- mMoneyChangeButton(new Button(_("Change"), "money", this)),
+ mAddButton(new Button(this, _("Add"), "add", this)),
+ mOkButton(new Button(this, "", "", this)), // Will be filled in later
+ mMoneyChangeButton(new Button(this, _("Change"), "money", this)),
mMoneyField(new TextField),
mStatus(PROPOSING),
mAutoAddItem(nullptr),