summaryrefslogtreecommitdiff
path: root/src/gui/windows/tradewindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-24 22:36:00 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-24 22:36:00 +0300
commit52039744fa2e5e116548e5236cd8ba5f5d81702a (patch)
treed367514cfc2a00c0b1f181dbfb5a8c3b0ca5785d /src/gui/windows/tradewindow.cpp
parent35d796b927447760772d2720a221e21fdf9fd10e (diff)
downloadmanaplus-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.cpp16
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,