summaryrefslogtreecommitdiffstats
path: root/src/widgets/platforms/mac/qfontengine_coretext.mm
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/platforms/mac/qfontengine_coretext.mm')
-rw-r--r--src/widgets/platforms/mac/qfontengine_coretext.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/platforms/mac/qfontengine_coretext.mm b/src/widgets/platforms/mac/qfontengine_coretext.mm
index d4df2183ed..cbf51e6ec5 100644
--- a/src/widgets/platforms/mac/qfontengine_coretext.mm
+++ b/src/widgets/platforms/mac/qfontengine_coretext.mm
@@ -871,7 +871,7 @@ QFontEngine *QCoreTextFontEngine::cloneWithSize(qreal pixelSize) const
newFontDef.pixelSize = pixelSize;
newFontDef.pointSize = pixelSize * 72.0 / qt_defaultDpi();
- return new QCoreTextFontEngine(cgFont, fontDef);
+ return new QCoreTextFontEngine(cgFont, newFontDef);
}
QT_END_NAMESPACE