summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--spline/spline-widget.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/spline/spline-widget.hpp b/spline/spline-widget.hpp
index b0a76e2d..178e5b23 100644
--- a/spline/spline-widget.hpp
+++ b/spline/spline-widget.hpp
@@ -90,7 +90,7 @@ private:
QPixmap background_img;
QPixmap spline_img;
QColor spline_color;
- QColor widget_bg_color = palette().background().color();
+ QColor widget_bg_color = palette().window().color();
// bounds of the rectangle user can interact with
QRect pixel_bounds;