summaryrefslogtreecommitdiffhomepage
path: root/spline/spline-widget.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-10-02 06:47:48 +0200
committerStanislaw Halik <sthalik@misaki.pl>2017-10-02 07:54:22 +0200
commit975af6ea9becb36196829d95433d57f76021a1d4 (patch)
treeb3d3f3ac6186fc3d01c44f45b5d011731badb475 /spline/spline-widget.cpp
parente005e2d94994e576509069f04fcee194ceadc30b (diff)
spline: fix background color handling
Diffstat (limited to 'spline/spline-widget.cpp')
-rw-r--r--spline/spline-widget.cpp2
1 files changed, 1 insertions, 1 deletions
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)