summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--spline/spline-widget.cpp2
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