diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2017-01-29 03:09:30 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2017-01-29 03:09:30 +0100 |
commit | 0ea648f8254ff49942e7f83d9034155b50498ac9 (patch) | |
tree | 8bf7e843d19e429cbd7ad7124cbe16772d4aa3db /spline-widget | |
parent | ff0d3aefe8d14796f636b890595f12b5b08d6d2f (diff) |
spline-widget: draw standard background color
Diffstat (limited to 'spline-widget')
-rw-r--r-- | spline-widget/spline-widget.cpp | 2 |
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) |