diff options
-rw-r--r-- | src/gui/kernel/qt_mac.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/gui/kernel/qt_mac.cpp b/src/gui/kernel/qt_mac.cpp index ef0df5f..5d9c03e 100644 --- a/src/gui/kernel/qt_mac.cpp +++ b/src/gui/kernel/qt_mac.cpp @@ -67,13 +67,6 @@ QFont qfontForThemeFont(ThemeFontID themeID) #else QCFType<CTFontRef> ctfont = CopyCTThemeFont(themeID); QString familyName = QCFString(CTFontCopyFamilyName(ctfont)); - - // Fix for the new private UI font on Mavericks - if (familyName == QLatin1String(".Lucida Grande UI")) - familyName = QLatin1String("Lucida Grande"); - else if (familyName.startsWith(QLatin1String("."))) - qWarning("Qt: qfontForThemeFont: encountered unknown private system font: %s", familyName.toLatin1().constData()); - QCFType<CFDictionaryRef> dict = CTFontCopyTraits(ctfont); CFNumberRef num = static_cast<CFNumberRef>(CFDictionaryGetValue(dict, kCTFontWeightTrait)); float fW; |