summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabs
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-23 23:03:27 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-23 23:03:27 +0300
commit49fff1aed195d44871caeeff063b1b8c76628e02 (patch)
tree5a2d8a617c089a1e8b6c50daa05ee32cb7c5ec90 /src/gui/widgets/tabs
parent9c9a1a4a4e2af42246f56aa73a5212ece9af9493 (diff)
downloadmanaplus-49fff1aed195d44871caeeff063b1b8c76628e02.tar.gz
manaplus-49fff1aed195d44871caeeff063b1b8c76628e02.tar.bz2
manaplus-49fff1aed195d44871caeeff063b1b8c76628e02.tar.xz
manaplus-49fff1aed195d44871caeeff063b1b8c76628e02.zip
Remove default parameter from color.
Diffstat (limited to 'src/gui/widgets/tabs')
-rw-r--r--src/gui/widgets/tabs/setup_colors.cpp13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/gui/widgets/tabs/setup_colors.cpp b/src/gui/widgets/tabs/setup_colors.cpp
index 224bc9799..f6f8dc386 100644
--- a/src/gui/widgets/tabs/setup_colors.cpp
+++ b/src/gui/widgets/tabs/setup_colors.cpp
@@ -477,15 +477,16 @@ void Setup_Colors::updateColor() const
if (grad == GradientType::STATIC)
{
userPalette->setColor(type,
- CAST_S32(mRedSlider->getValue()),
- CAST_S32(mGreenSlider->getValue()),
- CAST_S32(mBlueSlider->getValue()));
+ CAST_S32(mRedSlider->getValue()),
+ CAST_S32(mGreenSlider->getValue()),
+ CAST_S32(mBlueSlider->getValue()));
}
else if (grad == GradientType::PULSE)
{
userPalette->setTestColor(type, Color(
- CAST_S32(mRedSlider->getValue()),
- CAST_S32(mGreenSlider->getValue()),
- CAST_S32(mBlueSlider->getValue())));
+ CAST_S32(mRedSlider->getValue()),
+ CAST_S32(mGreenSlider->getValue()),
+ CAST_S32(mBlueSlider->getValue()),
+ 255U));
}
}