From e9c7edddb58bb69a29e75712adfa059dcfcc71fd Mon Sep 17 00:00:00 2001 From: Jiang Jiang Date: Mon, 14 Nov 2011 10:45:51 +0100 Subject: Remove unused Mac code Change-Id: I226ff0928cdeb70bb7f71ccace5066a430c3b05c Reviewed-by: Casper van Donderen --- src/widgets/platforms/mac/qfont_mac.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/widgets') diff --git a/src/widgets/platforms/mac/qfont_mac.cpp b/src/widgets/platforms/mac/qfont_mac.cpp index 4a7692ab94..1283bfe404 100644 --- a/src/widgets/platforms/mac/qfont_mac.cpp +++ b/src/widgets/platforms/mac/qfont_mac.cpp @@ -101,11 +101,6 @@ void QFont::cleanup() quint32 QFont::macFontID() const // ### need 64-bit version { return 0; -#elif 1 - QFontEngine *fe = d->engineForScript(QUnicodeTables::Common); - if (fe && fe->type() == QFontEngine::Multi) - return static_cast(fe)->macFontID(); - return 0; } // Returns an ATSUFonFamilyRef -- cgit v1.2.3