summaryrefslogtreecommitdiff
path: root/src/gui/trade.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/trade.cpp')
-rw-r--r--src/gui/trade.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/gui/trade.cpp b/src/gui/trade.cpp
index 0f86913a..dcb38e8e 100644
--- a/src/gui/trade.cpp
+++ b/src/gui/trade.cpp
@@ -56,10 +56,8 @@
TradeWindow::TradeWindow():
Window(_("Trade: You")),
- mMyInventory(new Inventory(Net::getInventoryHandler()
- ->getSize(Net::InventoryHandler::INVENTORY))),
- mPartnerInventory(new Inventory(Net::getInventoryHandler()
- ->getSize(Net::InventoryHandler::INVENTORY))),
+ mMyInventory(new Inventory(Inventory::TRADE)),
+ mPartnerInventory(new Inventory(Inventory::TRADE)),
mStatus(PROPOSING)
{
setWindowName("Trade");