From b3cf7bd2daeb46a613611e8a5d3f47736b5780e9 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 18 Dec 2017 00:51:34 +0300 Subject: Remove default parameter from inventory. --- src/gui/windows/tradewindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui') diff --git a/src/gui/windows/tradewindow.cpp b/src/gui/windows/tradewindow.cpp index bd8ba020f..be67e2432 100644 --- a/src/gui/windows/tradewindow.cpp +++ b/src/gui/windows/tradewindow.cpp @@ -77,8 +77,8 @@ TradeWindow::TradeWindow() : Window(_("Trade: You"), Modal_false, nullptr, "trade.xml"), ActionListener(), SelectionListener(), - mMyInventory(new Inventory(InventoryType::Trade)), - mPartnerInventory(new Inventory(InventoryType::Trade)), + mMyInventory(new Inventory(InventoryType::Trade, -1)), + mPartnerInventory(new Inventory(InventoryType::Trade, -1)), mMyItemContainer(new ItemContainer(this, mMyInventory)), mPartnerItemContainer(new ItemContainer(this, mPartnerInventory)), // TRANSLATORS: trade window money label -- cgit v1.2.3-70-g09d2