Remove unused Mac code
authorJiang Jiang <jiang.jiang@nokia.com>
Mon, 14 Nov 2011 09:45:51 +0000 (10:45 +0100)
committerQt by Nokia <qt-info@nokia.com>
Mon, 14 Nov 2011 09:53:48 +0000 (10:53 +0100)
Change-Id: I226ff0928cdeb70bb7f71ccace5066a430c3b05c
Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
src/widgets/platforms/mac/qfont_mac.cpp

index 4a7692a..1283bfe 100644 (file)
@@ -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<QFontEngineMacMulti*>(fe)->macFontID();
-    return 0;
 }
 
 // Returns an ATSUFonFamilyRef