From 975af6ea9becb36196829d95433d57f76021a1d4 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 2 Oct 2017 06:47:48 +0200 Subject: spline: fix background color handling --- spline/spline-widget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spline/spline-widget.cpp') diff --git a/spline/spline-widget.cpp b/spline/spline-widget.cpp index 7b417c18..a80e08b7 100644 --- a/spline/spline-widget.cpp +++ b/spline/spline-widget.cpp @@ -104,7 +104,7 @@ void spline_widget::drawBackground() QPainter painter(&_background); - painter.fillRect(rect(), palette().color(QPalette::Light)); + painter.fillRect(rect(), palette().background().color()); QColor bg_color(112, 154, 209); if (!isEnabled() && !_preview_only) -- cgit v1.2.3