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/models/colormodel.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/models') diff --git a/src/gui/models/colormodel.cpp b/src/gui/models/colormodel.cpp index 3bbded2e2..e906987f6 100644 --- a/src/gui/models/colormodel.cpp +++ b/src/gui/models/colormodel.cpp @@ -65,8 +65,8 @@ void ColorModel::add(const std::string &name, const Color *const color1, } #define addColor(name, color) \ - model->add(name, &widget->getThemeColor(ThemeColorId::color), \ - &widget->getThemeColor(ThemeColorId::color##_OUTLINE)); + model->add(name, &widget->getThemeColor(ThemeColorId::color, 255U), \ + &widget->getThemeColor(ThemeColorId::color##_OUTLINE, 255U)); ColorModel *ColorModel::createDefault(const Widget2 *const widget) { -- cgit v1.2.3-70-g09d2