diff options
Diffstat (limited to 'src/gui/tradewindow.cpp')
-rw-r--r-- | src/gui/tradewindow.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/tradewindow.cpp b/src/gui/tradewindow.cpp index 5cb77dd9d..fb361d8c0 100644 --- a/src/gui/tradewindow.cpp +++ b/src/gui/tradewindow.cpp @@ -155,13 +155,13 @@ void TradeWindow::setMoney(const int amount) } else { - mMoneyLabel->setForegroundColor(Theme::getThemeColor( + mMoneyLabel->setForegroundColor(getThemeColor( static_cast<int>(Theme::WARNING))); } } else { - mMoneyLabel->setForegroundColor(Theme::getThemeColor( + mMoneyLabel->setForegroundColor(getThemeColor( static_cast<int>(Theme::LABEL))); mGotMaxMoney = amount; } @@ -230,7 +230,7 @@ void TradeWindow::reset() setMoney(0); mMoneyField->setEnabled(true); mMoneyField->setText(""); - mMoneyLabel->setForegroundColor(Theme::getThemeColor( + mMoneyLabel->setForegroundColor(getThemeColor( static_cast<int>(Theme::LABEL))); mAddButton->setEnabled(true); mMoneyChangeButton->setEnabled(true); @@ -404,7 +404,7 @@ void TradeWindow::clear() mAutoAddAmount = 0; mGotMoney = 0; mGotMaxMoney = 0; - mMoneyLabel->setForegroundColor(Theme::getThemeColor( + mMoneyLabel->setForegroundColor(getThemeColor( static_cast<int>(Theme::LABEL))); } |