diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2019-06-26 11:14:46 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2019-06-26 11:14:46 +0200 |
commit | dbdb571c1761d72dbf450ba939fda0794a257f82 (patch) | |
tree | d02dee00679780370842771bb111ad6c9f8f8f92 /spline/spline-widget.cpp | |
parent | f166d006330c788c8706c93d3290eff6265cde58 (diff) |
spline: fix typo
Diffstat (limited to 'spline/spline-widget.cpp')
-rw-r--r-- | spline/spline-widget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spline/spline-widget.cpp b/spline/spline-widget.cpp index 8f8bdfb4..fd07bf78 100644 --- a/spline/spline-widget.cpp +++ b/spline/spline-widget.cpp @@ -258,7 +258,7 @@ void spline_widget::drawFunction() double spline_widget::screen_dpi() const { #ifdef _WIN32 - return std::max(devicePixelRatioF, 1.); + return std::max(devicePixelRatioF(), 1.); #else return std::max(std::max(logicalDpiX()/(double)physicalDpiX(), devicePixelRatioF()), 1.); #endif |