macOS: Remove un-needed fontDef assignment in QCoreTextFontDatabase
The QCoreTextFontEngine constructor already sets the member (like it should). Change-Id: I6e59ff36c439857418a636de4056c20d2f65e8d4 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>bb10
parent
5b41b34958
commit
1b2234c4e7
|
|
@ -382,7 +382,6 @@ QFontEngine *QCoreTextFontDatabaseEngineFactory<QCoreTextFontEngine>::fontEngine
|
|||
CTFontRef font = CTFontCreateWithFontDescriptor(descriptor, scaledPointSize, &matrix);
|
||||
if (font) {
|
||||
QFontEngine *engine = new QCoreTextFontEngine(font, fontDef);
|
||||
engine->fontDef = fontDef;
|
||||
CFRelease(font);
|
||||
return engine;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue