summaryrefslogtreecommitdiffhomepage
path: root/spline
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-06-25 20:03:06 +0200
committerStanislaw Halik <sthalik@misaki.pl>2019-06-25 20:03:06 +0200
commit6f4388a445c6701b592e90d87f08361d773a09b1 (patch)
tree1e8886ac91f92cb504daf9847cbf6e9c0c8b4cfa /spline
parentf4b4164052672441440c4f1e5122bc6303843cdc (diff)
spline: fix deprecated qt function
Diffstat (limited to 'spline')
-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;