diff options
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/windows/itemamountwindow.cpp | 3 | ||||
-rw-r--r-- | src/gui/windows/tradewindow.cpp | 4 | ||||
-rw-r--r-- | src/gui/windows/tradewindow.h | 4 |
3 files changed, 6 insertions, 5 deletions
diff --git a/src/gui/windows/itemamountwindow.cpp b/src/gui/windows/itemamountwindow.cpp index b2f08db98..f4203092f 100644 --- a/src/gui/windows/itemamountwindow.cpp +++ b/src/gui/windows/itemamountwindow.cpp @@ -337,7 +337,8 @@ void ItemAmountWindow::action(const ActionEvent &event) mItem = new Item(id, 0, 10000, 0, 1, Identified_true, Damaged_true, - false, false, false); + Favorite_false, + false, false); if (mUsage == ShopBuyAdd) mMax = 10000; diff --git a/src/gui/windows/tradewindow.cpp b/src/gui/windows/tradewindow.cpp index 042c11b74..41bde7c19 100644 --- a/src/gui/windows/tradewindow.cpp +++ b/src/gui/windows/tradewindow.cpp @@ -202,7 +202,7 @@ void TradeWindow::addItem(const int id, const unsigned char color, const Identified identified, const Damaged damaged, - const bool favorite) const + const Favorite favorite) const { Inventory *inv = own ? mMyInventory : mPartnerInventory; inv->addItem(id, type, quantity, refine, color, @@ -219,7 +219,7 @@ void TradeWindow::addItem2(const int id, const unsigned char color, const Identified identified, const Damaged damaged, - const bool favorite, + const Favorite favorite, const bool equipment) const { Inventory *inv = own ? mMyInventory : mPartnerInventory; diff --git a/src/gui/windows/tradewindow.h b/src/gui/windows/tradewindow.h index 153fb0259..89cf36a6a 100644 --- a/src/gui/windows/tradewindow.h +++ b/src/gui/windows/tradewindow.h @@ -77,7 +77,7 @@ class TradeWindow final : public Window, const unsigned char color, const Identified identified, const Damaged damaged, - const bool favorite) const; + const Favorite favorite) const; /** * Reset both item containers @@ -97,7 +97,7 @@ class TradeWindow final : public Window, const unsigned char color, const Identified identified, const Damaged damaged, - const bool favorite, + const Favorite favorite, const bool equipment) const; /** |