From 15a79eee1b3baa91953daf33dc021a1e7c147365 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 14 Jul 2014 23:43:54 +0300 Subject: Change refine type to uint8_t. --- src/gui/windows/tradewindow.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/gui/windows/tradewindow.cpp') diff --git a/src/gui/windows/tradewindow.cpp b/src/gui/windows/tradewindow.cpp index 1fccb0c0b..21144b341 100644 --- a/src/gui/windows/tradewindow.cpp +++ b/src/gui/windows/tradewindow.cpp @@ -191,8 +191,11 @@ void TradeWindow::setMoney(const int amount) mMoneyLabel->adjustSize(); } -void TradeWindow::addItem(const int id, const bool own, const int quantity, - const int refine, const unsigned char color) const +void TradeWindow::addItem(const int id, + const bool own, + const int quantity, + const uint8_t refine, + const unsigned char color) const { if (own) mMyInventory->addItem(id, quantity, refine, color); @@ -201,7 +204,7 @@ void TradeWindow::addItem(const int id, const bool own, const int quantity, } void TradeWindow::addItem2(const int id, const bool own, const int quantity, - const int refine, const unsigned char color, + const uint8_t refine, const unsigned char color, const bool equipment) const { if (own) -- cgit v1.2.3-70-g09d2