summaryrefslogtreecommitdiffhomepage
path: root/spline/spline-widget.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2020-01-17 22:40:38 +0100
committerStanislaw Halik <sthalik@misaki.pl>2020-01-17 22:40:38 +0100
commit87c1de2d0de8ed24758f60efae3d8561c430e6aa (patch)
tree2f4399cb85c74f72bbc742a7748c3cdac0706eeb /spline/spline-widget.cpp
parent44487703c264dfef094631614717ba5ce22f7a37 (diff)
spline/widget: take font color from palette
Issue: #988
Diffstat (limited to 'spline/spline-widget.cpp')
-rw-r--r--spline/spline-widget.cpp2
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)
{