summaryrefslogtreecommitdiffhomepage
path: root/spline/spline-widget.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-10-27 14:08:11 +0200
committerStanislaw Halik <sthalik@misaki.pl>2017-10-27 16:43:04 +0200
commit8f8014bf7178c6c06d5bb1760ba6619f161d1ac6 (patch)
treed937df5b46ae3e81b03458ddaca8167896a2b2db /spline/spline-widget.hpp
parent52e73f03f27104c094a9b8e66076a9c593a3c869 (diff)
spline/widget: try fix background color on Unix
Diffstat (limited to 'spline/spline-widget.hpp')
-rw-r--r--spline/spline-widget.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/spline/spline-widget.hpp b/spline/spline-widget.hpp
index 711bdb2a..d38eeeee 100644
--- a/spline/spline-widget.hpp
+++ b/spline/spline-widget.hpp
@@ -90,6 +90,7 @@ private:
QPixmap _background;
QPixmap _function;
QColor spline_color;
+ QColor widget_bg_color = palette().background().color();
// bounds of the rectangle user can interact with
QRect pixel_bounds;