From 6f4388a445c6701b592e90d87f08361d773a09b1 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 25 Jun 2019 20:03:06 +0200 Subject: spline: fix deprecated qt function --- spline/spline-widget.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spline') 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; -- cgit v1.2.3