diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-12-26 18:51:58 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-12-26 18:51:58 +0300 |
commit | 49ab9391a9d49580603858b1222dd39542111583 (patch) | |
tree | 86271710648924c76a891700c4288dcfa496568e /src/gui/windows/tradewindow.cpp | |
parent | 040fac18a01fbfe6cbff4ffa24e6543df148bafe (diff) | |
download | plus-49ab9391a9d49580603858b1222dd39542111583.tar.gz plus-49ab9391a9d49580603858b1222dd39542111583.tar.bz2 plus-49ab9391a9d49580603858b1222dd39542111583.tar.xz plus-49ab9391a9d49580603858b1222dd39542111583.zip |
Remove default parameters from itemcontainer.
Diffstat (limited to 'src/gui/windows/tradewindow.cpp')
-rw-r--r-- | src/gui/windows/tradewindow.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/windows/tradewindow.cpp b/src/gui/windows/tradewindow.cpp index 3f16b0b4b..8b730218c 100644 --- a/src/gui/windows/tradewindow.cpp +++ b/src/gui/windows/tradewindow.cpp @@ -79,8 +79,10 @@ TradeWindow::TradeWindow() : SelectionListener(), mMyInventory(new Inventory(InventoryType::Trade, -1)), mPartnerInventory(new Inventory(InventoryType::Trade, -1)), - mMyItemContainer(new ItemContainer(this, mMyInventory)), - mPartnerItemContainer(new ItemContainer(this, mPartnerInventory)), + mMyItemContainer(new ItemContainer(this, mMyInventory, 100000, + ShowEmptyRows_false, ForceQuantity_false)), + mPartnerItemContainer(new ItemContainer(this, mPartnerInventory, 100000, + ShowEmptyRows_false, ForceQuantity_false)), // TRANSLATORS: trade window money label mMoneyLabel(new Label(this, strprintf(_("You get %s"), ""))), // TRANSLATORS: trade window button |