summaryrefslogtreecommitdiffstats
path: root/src/widgets
diff options
context:
space:
mode:
authorJiang Jiang <jiang.jiang@nokia.com>2011-11-14 10:45:51 +0100
committerQt by Nokia <qt-info@nokia.com>2011-11-14 10:53:48 +0100
commite9c7edddb58bb69a29e75712adfa059dcfcc71fd (patch)
tree15a2a1256beb2d2e7802f6299461664e2ab429aa /src/widgets
parente66d3d98996c918162f2bf5bf94a0d356a39b5af (diff)
Remove unused Mac code
Change-Id: I226ff0928cdeb70bb7f71ccace5066a430c3b05c Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
Diffstat (limited to 'src/widgets')
-rw-r--r--src/widgets/platforms/mac/qfont_mac.cpp5
1 files changed, 0 insertions, 5 deletions
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<QFontEngineMacMulti*>(fe)->macFontID();
- return 0;
}
// Returns an ATSUFonFamilyRef