From 0875a6ddfda9ece1af4a818e38be1f99e578c59a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 21 Oct 2014 14:40:14 +0300 Subject: Add to item field favorite. --- src/gui/windows/tradewindow.cpp | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'src/gui/windows/tradewindow.cpp') diff --git a/src/gui/windows/tradewindow.cpp b/src/gui/windows/tradewindow.cpp index 0ffbcd34a..6bf091625 100644 --- a/src/gui/windows/tradewindow.cpp +++ b/src/gui/windows/tradewindow.cpp @@ -196,17 +196,18 @@ void TradeWindow::addItem(const int id, const uint8_t refine, const unsigned char color, const bool identified, - const bool damaged) const + const bool damaged, + const bool favorite) const { if (own) { mMyInventory->addItem(id, quantity, refine, color, - identified, damaged, false, false); + identified, damaged, favorite, false, false); } else { mPartnerInventory->addItem(id, quantity, refine, color, - identified, damaged, false, false); + identified, damaged, favorite, false, false); } } @@ -217,17 +218,18 @@ void TradeWindow::addItem2(const int id, const unsigned char color, const bool identified, const bool damaged, + const bool favorite, const bool equipment) const { if (own) { mMyInventory->addItem(id, quantity, refine, color, - identified, damaged, equipment, false); + identified, damaged, favorite, equipment, false); } else { mPartnerInventory->addItem(id, quantity, refine, color, - identified, damaged, equipment, false); + identified, damaged, favorite, equipment, false); } } -- cgit v1.2.3-60-g2f50