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/popups/skillpopup.cpp | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) (limited to 'src/gui/popups/skillpopup.cpp') diff --git a/src/gui/popups/skillpopup.cpp b/src/gui/popups/skillpopup.cpp index c2a583e30..7272fb316 100644 --- a/src/gui/popups/skillpopup.cpp +++ b/src/gui/popups/skillpopup.cpp @@ -55,30 +55,35 @@ SkillPopup::SkillPopup() : { mSkillName->setFont(boldFont); mSkillName->setPosition(0, 0); - mSkillName->setForegroundColorAll(getThemeColor(ThemeColorId::POPUP), - getThemeColor(ThemeColorId::POPUP_OUTLINE)); + mSkillName->setForegroundColorAll( + getThemeColor(ThemeColorId::POPUP, 255U), + getThemeColor(ThemeColorId::POPUP_OUTLINE, 255U)); const int fontHeight = getFont()->getHeight(); mSkillDesc->setEditable(false); mSkillDesc->setPosition(0, fontHeight); - mSkillDesc->setForegroundColorAll(getThemeColor(ThemeColorId::POPUP), - getThemeColor(ThemeColorId::POPUP_OUTLINE)); + mSkillDesc->setForegroundColorAll( + getThemeColor(ThemeColorId::POPUP, 255U), + getThemeColor(ThemeColorId::POPUP_OUTLINE, 255U)); mSkillEffect->setEditable(false); mSkillEffect->setPosition(0, 2 * fontHeight); - mSkillEffect->setForegroundColorAll(getThemeColor(ThemeColorId::POPUP), - getThemeColor(ThemeColorId::POPUP_OUTLINE)); + mSkillEffect->setForegroundColorAll( + getThemeColor(ThemeColorId::POPUP, 255U), + getThemeColor(ThemeColorId::POPUP_OUTLINE, 255U)); mSkillLevel->setEditable(false); mSkillLevel->setPosition(0, 3 * fontHeight); - mSkillLevel->setForegroundColorAll(getThemeColor(ThemeColorId::POPUP), - getThemeColor(ThemeColorId::POPUP_OUTLINE)); + mSkillLevel->setForegroundColorAll( + getThemeColor(ThemeColorId::POPUP, 255U), + getThemeColor(ThemeColorId::POPUP_OUTLINE, 255U)); mSkillCastType->setEditable(false); mSkillCastType->setPosition(0, 4 * fontHeight); - mSkillCastType->setForegroundColorAll(getThemeColor(ThemeColorId::POPUP), - getThemeColor(ThemeColorId::POPUP_OUTLINE)); + mSkillCastType->setForegroundColorAll( + getThemeColor(ThemeColorId::POPUP, 255U), + getThemeColor(ThemeColorId::POPUP_OUTLINE, 255U)); } void SkillPopup::postInit() -- cgit v1.2.3-60-g2f50