diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-12-24 22:36:00 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-12-24 22:36:00 +0300 |
commit | 52039744fa2e5e116548e5236cd8ba5f5d81702a (patch) | |
tree | d367514cfc2a00c0b1f181dbfb5a8c3b0ca5785d /src/gui/windows/tradewindow.cpp | |
parent | 35d796b927447760772d2720a221e21fdf9fd10e (diff) | |
download | manaplus-52039744fa2e5e116548e5236cd8ba5f5d81702a.tar.gz manaplus-52039744fa2e5e116548e5236cd8ba5f5d81702a.tar.bz2 manaplus-52039744fa2e5e116548e5236cd8ba5f5d81702a.tar.xz manaplus-52039744fa2e5e116548e5236cd8ba5f5d81702a.zip |
Remove default parameters from widget2.
Diffstat (limited to 'src/gui/windows/tradewindow.cpp')
-rw-r--r-- | src/gui/windows/tradewindow.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
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, |