From 52039744fa2e5e116548e5236cd8ba5f5d81702a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 24 Dec 2017 22:36:00 +0300 Subject: Remove default parameters from widget2. --- src/gui/windows/tradewindow.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/gui/windows/tradewindow.cpp') diff --git a/src/gui/windows/tradewindow.cpp b/src/gui/windows/tradewindow.cpp index 413945660..d11023fdb 100644 --- a/src/gui/windows/tradewindow.cpp +++ b/src/gui/windows/tradewindow.cpp @@ -175,14 +175,14 @@ void TradeWindow::setMoney(const int amount) return; } mMoneyLabel->setForegroundColorAll( - getThemeColor(ThemeColorId::WARNING), - getThemeColor(ThemeColorId::WARNING_OUTLINE)); + getThemeColor(ThemeColorId::WARNING, 255U), + getThemeColor(ThemeColorId::WARNING_OUTLINE, 255U)); } else { mMoneyLabel->setForegroundColorAll( - getThemeColor(ThemeColorId::LABEL), - getThemeColor(ThemeColorId::LABEL_OUTLINE)); + getThemeColor(ThemeColorId::LABEL, 255U), + getThemeColor(ThemeColorId::LABEL_OUTLINE, 255U)); mGotMaxMoney = amount; } @@ -282,8 +282,8 @@ void TradeWindow::reset() mMoneyField->setEnabled(true); mMoneyField->setText(""); mMoneyLabel->setForegroundColorAll( - getThemeColor(ThemeColorId::LABEL), - getThemeColor(ThemeColorId::LABEL_OUTLINE)); + getThemeColor(ThemeColorId::LABEL, 255U), + getThemeColor(ThemeColorId::LABEL_OUTLINE, 255U)); mAddButton->setEnabled(true); mMoneyChangeButton->setEnabled(true); mGotMoney = 0; @@ -467,8 +467,8 @@ void TradeWindow::clear() mGotMoney = 0; mGotMaxMoney = 0; mMoneyLabel->setForegroundColorAll( - getThemeColor(ThemeColorId::LABEL), - getThemeColor(ThemeColorId::LABEL_OUTLINE)); + getThemeColor(ThemeColorId::LABEL, 255U), + getThemeColor(ThemeColorId::LABEL_OUTLINE, 255U)); } void TradeWindow::addAutoItem(const std::string &nick, Item* const item, -- cgit v1.2.3-70-g09d2