From 5e8e53f6e795a84ab5ca6cfe0d08672878044707 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 16 Nov 2015 22:17:15 +0300 Subject: Convert InventoryType enum into strong typed. --- src/gui/windows/tradewindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/windows/tradewindow.cpp') diff --git a/src/gui/windows/tradewindow.cpp b/src/gui/windows/tradewindow.cpp index edd685f30..69cf87848 100644 --- a/src/gui/windows/tradewindow.cpp +++ b/src/gui/windows/tradewindow.cpp @@ -73,8 +73,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)), + mPartnerInventory(new Inventory(InventoryType::Trade)), mMyItemContainer(new ItemContainer(this, mMyInventory)), mPartnerItemContainer(new ItemContainer(this, mPartnerInventory)), // TRANSLATORS: trade window money label -- cgit v1.2.3-70-g09d2