diff options
Diffstat (limited to 'src/gui/models')
-rw-r--r-- | src/gui/models/colormodel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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) { |