From 376c7e4a46c2c18d117db49b143a3f138d6a81c7 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 20 Oct 2012 01:49:19 +0300 Subject: Add palette inheritance to itemcontainer class. --- src/gui/tradewindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/tradewindow.cpp') 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 -- cgit v1.2.3-70-g09d2