From 0ea648f8254ff49942e7f83d9034155b50498ac9 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 29 Jan 2017 03:09:30 +0100 Subject: spline-widget: draw standard background color --- spline-widget/spline-widget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3