diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2020-01-17 22:40:38 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2020-01-17 22:40:38 +0100 |
commit | 87c1de2d0de8ed24758f60efae3d8561c430e6aa (patch) | |
tree | 2f4399cb85c74f72bbc742a7748c3cdac0706eeb | |
parent | 44487703c264dfef094631614717ba5ce22f7a37 (diff) |
spline/widget: take font color from palette
Issue: #988
-rw-r--r-- | spline/spline-widget.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spline/spline-widget.cpp b/spline/spline-widget.cpp index fb373c93..1e95aba6 100644 --- a/spline/spline-widget.cpp +++ b/spline/spline-widget.cpp @@ -118,6 +118,8 @@ void spline_widget::drawBackground() double space_width = metrics.averageCharWidth(); #endif + painter.setPen(palette().text().color()); + // vertical grid for (int i = 0; i <= maxy; i += ystep) { |