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/popups/beingpopup.cpp | |
parent | 35d796b927447760772d2720a221e21fdf9fd10e (diff) | |
download | plus-52039744fa2e5e116548e5236cd8ba5f5d81702a.tar.gz plus-52039744fa2e5e116548e5236cd8ba5f5d81702a.tar.bz2 plus-52039744fa2e5e116548e5236cd8ba5f5d81702a.tar.xz plus-52039744fa2e5e116548e5236cd8ba5f5d81702a.zip |
Remove default parameters from widget2.
Diffstat (limited to 'src/gui/popups/beingpopup.cpp')
-rw-r--r-- | src/gui/popups/beingpopup.cpp | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/src/gui/popups/beingpopup.cpp b/src/gui/popups/beingpopup.cpp index 299683f6d..9e03e859c 100644 --- a/src/gui/popups/beingpopup.cpp +++ b/src/gui/popups/beingpopup.cpp @@ -79,8 +79,9 @@ void BeingPopup::addLabels(const int fontHeight) { Label *const label = new Label(this, "A"); label->setPosition(0, fontHeight * (f + 1)); - label->setForegroundColorAll(getThemeColor(ThemeColorId::POPUP), - getThemeColor(ThemeColorId::POPUP_OUTLINE)); + label->setForegroundColorAll( + getThemeColor(ThemeColorId::POPUP, 255U), + getThemeColor(ThemeColorId::POPUP_OUTLINE, 255U)); mLabels.push_back(label); } } @@ -113,14 +114,15 @@ void BeingPopup::show(const int x, const int y, Being *const b) } if (b->isAdvanced()) { - mBeingName->setForegroundColorAll(getThemeColor( - ThemeColorId::PLAYER_ADVANCED), getThemeColor( - ThemeColorId::PLAYER_ADVANCED_OUTLINE)); + mBeingName->setForegroundColorAll( + getThemeColor(ThemeColorId::PLAYER_ADVANCED, 255U), + getThemeColor(ThemeColorId::PLAYER_ADVANCED_OUTLINE, 255U)); } else { - mBeingName->setForegroundColorAll(getThemeColor(ThemeColorId::POPUP), - getThemeColor(ThemeColorId::POPUP_OUTLINE)); + mBeingName->setForegroundColorAll( + getThemeColor(ThemeColorId::POPUP, 255U), + getThemeColor(ThemeColorId::POPUP_OUTLINE, 255U)); } mBeingName->adjustSize(); |