summaryrefslogtreecommitdiff
path: root/src/gui/windows/tradewindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-02-11 00:20:57 +0300
committerAndrei Karas <akaras@inbox.ru>2015-02-11 00:20:57 +0300
commit067410031057ffc9bdb36b976bc2a658b23acb1b (patch)
treeca60538b0a1aef7aabcd2d89250efe98961e85cb /src/gui/windows/tradewindow.cpp
parent7d9f6bd3984c423b89a9f564342cde74f378f8c9 (diff)
downloadplus-067410031057ffc9bdb36b976bc2a658b23acb1b.tar.gz
plus-067410031057ffc9bdb36b976bc2a658b23acb1b.tar.bz2
plus-067410031057ffc9bdb36b976bc2a658b23acb1b.tar.xz
plus-067410031057ffc9bdb36b976bc2a658b23acb1b.zip
Add typed bool type Favorite.
Diffstat (limited to 'src/gui/windows/tradewindow.cpp')
-rw-r--r--src/gui/windows/tradewindow.cpp4
1 files changed, 2 insertions, 2 deletions
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;