diff options
author | Andy Shaw <andy.shaw@digia.com> | 2013-10-04 10:28:16 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-10-07 14:00:57 +0200 |
commit | b1bd4021f361b404a9c087622f71006f897d7e52 (patch) | |
tree | efb0b78678a84b8f4939f7f96d0258893a2e9be3 /src/platformsupport/fontdatabases/mac/qcoretextfontdatabase_p.h | |
parent | 2cfca47d568502a5d10c07caf60b38cc505d3f5e (diff) |
Fallback to the original application font handling
When Qt is built for 10.8 but then used on a machine before 10.8 then
it was not falling back correctly when an application font was added.
Change-Id: I0f05226cdbcfa36621bb1b3aa2f2cd60e714dfdf
Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com>
Diffstat (limited to 'src/platformsupport/fontdatabases/mac/qcoretextfontdatabase_p.h')
-rw-r--r-- | src/platformsupport/fontdatabases/mac/qcoretextfontdatabase_p.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/platformsupport/fontdatabases/mac/qcoretextfontdatabase_p.h b/src/platformsupport/fontdatabases/mac/qcoretextfontdatabase_p.h index c3bb4d428a..ee1016509b 100644 --- a/src/platformsupport/fontdatabases/mac/qcoretextfontdatabase_p.h +++ b/src/platformsupport/fontdatabases/mac/qcoretextfontdatabase_p.h @@ -82,9 +82,8 @@ private: #if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_8 QVector<QCFType<CGFontRef> > m_applicationGraphicsFonts; QVector<QCFType<CFURLRef> > m_applicationURLFonts; -#else - QVector<ATSFontContainerRef> m_applicationFonts; #endif + QVector<ATSFontContainerRef> m_applicationFonts; #endif }; |