summaryrefslogtreecommitdiff
path: root/src/gui/models
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-24 22:36:00 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-24 22:36:00 +0300
commit52039744fa2e5e116548e5236cd8ba5f5d81702a (patch)
treed367514cfc2a00c0b1f181dbfb5a8c3b0ca5785d /src/gui/models
parent35d796b927447760772d2720a221e21fdf9fd10e (diff)
downloadmv-52039744fa2e5e116548e5236cd8ba5f5d81702a.tar.gz
mv-52039744fa2e5e116548e5236cd8ba5f5d81702a.tar.bz2
mv-52039744fa2e5e116548e5236cd8ba5f5d81702a.tar.xz
mv-52039744fa2e5e116548e5236cd8ba5f5d81702a.zip
Remove default parameters from widget2.
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 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)
{