summaryrefslogtreecommitdiff
path: root/src/gui/tradewindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-20 01:49:19 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-20 13:55:43 +0300
commit376c7e4a46c2c18d117db49b143a3f138d6a81c7 (patch)
tree0488ce7aab7186cf32c22a6a5f3a275a46dae145 /src/gui/tradewindow.cpp
parentf5f77f16d8c0dc23ffaf4c6a8590e4c026bfcfc8 (diff)
downloadmv-376c7e4a46c2c18d117db49b143a3f138d6a81c7.tar.gz
mv-376c7e4a46c2c18d117db49b143a3f138d6a81c7.tar.bz2
mv-376c7e4a46c2c18d117db49b143a3f138d6a81c7.tar.xz
mv-376c7e4a46c2c18d117db49b143a3f138d6a81c7.zip
Add palette inheritance to itemcontainer class.
Diffstat (limited to 'src/gui/tradewindow.cpp')
-rw-r--r--src/gui/tradewindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/tradewindow.cpp b/src/gui/tradewindow.cpp
index a9083abaf..f5f593b2e 100644
--- a/src/gui/tradewindow.cpp
+++ b/src/gui/tradewindow.cpp
@@ -65,8 +65,8 @@ TradeWindow::TradeWindow():
gcn::SelectionListener(),
mMyInventory(new Inventory(Inventory::TRADE)),
mPartnerInventory(new Inventory(Inventory::TRADE)),
- mMyItemContainer(new ItemContainer(mMyInventory.get())),
- mPartnerItemContainer(new ItemContainer(mPartnerInventory.get())),
+ mMyItemContainer(new ItemContainer(this, mMyInventory.get())),
+ mPartnerItemContainer(new ItemContainer(this, mPartnerInventory.get())),
mMoneyLabel(new Label(strprintf(_("You get %s"), ""))),
mAddButton(new Button(this, _("Add"), "add", this)),
mOkButton(new Button(this, "", "", this)), // Will be filled in later