summaryrefslogtreecommitdiffstats
path: root/mobile-widgets
diff options
context:
space:
mode:
Diffstat (limited to 'mobile-widgets')
-rw-r--r--mobile-widgets/themeinterface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mobile-widgets/themeinterface.cpp b/mobile-widgets/themeinterface.cpp
index 9e522b936..28de58828 100644
--- a/mobile-widgets/themeinterface.cpp
+++ b/mobile-widgets/themeinterface.cpp
@@ -85,7 +85,7 @@ void ThemeInterface::set_currentScale(double newScale)
}
// Set current font size
- defaultModelFont().setPointSize(m_basePointSize * qPrefDisplay::mobile_scale());
+ defaultModelFont().setPointSizeF(m_basePointSize * qPrefDisplay::mobile_scale());
// adjust all used font sizes
m_regularPointSize = m_basePointSize * qPrefDisplay::mobile_scale();