diff --git a/kcm/src/previewwidget.cpp b/kcm/src/previewwidget.cpp --- a/kcm/src/previewwidget.cpp +++ b/kcm/src/previewwidget.cpp @@ -79,7 +79,7 @@ m_internalPreview ->render(&p); //render back at whatever the native DPR of the KCM is - pixmap.setDevicePixelRatio(devicePixelRatio()); + pixmap.setDevicePixelRatio(devicePixelRatioF()); return pixmap; }