summaryrefslogtreecommitdiffhomepage
path: root/spline-widget
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-01-29 03:09:30 +0100
committerStanislaw Halik <sthalik@misaki.pl>2017-01-29 03:09:30 +0100
commit0ea648f8254ff49942e7f83d9034155b50498ac9 (patch)
tree8bf7e843d19e429cbd7ad7124cbe16772d4aa3db /spline-widget
parentff0d3aefe8d14796f636b890595f12b5b08d6d2f (diff)
spline-widget: draw standard background color
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)