summaryrefslogtreecommitdiffhomepage
path: root/spline-widget
diff options
context:
space:
mode:
Diffstat (limited to 'spline-widget')
-rw-r--r--spline-widget/spline-widget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/spline-widget/spline-widget.cpp b/spline-widget/spline-widget.cpp
index c8356fb4..c4cee1bb 100644
--- a/spline-widget/spline-widget.cpp
+++ b/spline-widget/spline-widget.cpp
@@ -102,7 +102,7 @@ void spline_widget::drawBackground()
QPainter painter(&_background);
- painter.fillRect(rect(), QWidget::palette().color(QWidget::backgroundRole()));
+ painter.fillRect(rect(), palette().color(QPalette::Light));
QColor bg_color(112, 154, 209);
if (!isEnabled() && !_preview_only)