Remove unused Mac code

Change-Id: I226ff0928cdeb70bb7f71ccace5066a430c3b05c
Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
This commit is contained in:
Jiang Jiang 2011-11-14 10:45:51 +01:00 committed by Qt by Nokia
parent e66d3d9899
commit e9c7edddb5

View 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