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();