summaryrefslogtreecommitdiff
path: root/src/gui/models
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/models')
-rw-r--r--src/gui/models/colormodel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/models/colormodel.cpp b/src/gui/models/colormodel.cpp
index 2d0b65788..212ed5227 100644
--- a/src/gui/models/colormodel.cpp
+++ b/src/gui/models/colormodel.cpp
@@ -64,8 +64,8 @@ void ColorModel::add(const std::string &name, const Color *const color1,
}
#define addColor(name, color) \
- model->add(name, &widget->getThemeColor(Theme::color), \
- &widget->getThemeColor(Theme::color##_OUTLINE));
+ model->add(name, &widget->getThemeColor(ThemeColorId::color), \
+ &widget->getThemeColor(ThemeColorId::color##_OUTLINE));
ColorModel *ColorModel::createDefault(const Widget2 *const widget)
{