diff options
Diffstat (limited to 'src/kernel/qfontdatabase.cpp')
-rw-r--r-- | src/kernel/qfontdatabase.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/kernel/qfontdatabase.cpp b/src/kernel/qfontdatabase.cpp index 152b6f250..41aa25431 100644 --- a/src/kernel/qfontdatabase.cpp +++ b/src/kernel/qfontdatabase.cpp @@ -334,7 +334,7 @@ struct TQtFontFamily #ifdef TQ_WS_WIN scriptCheck( FALSE ), #endif -#if defined(Q_OS_MAC) && !defined(TQWS) +#if defined(Q_OS_MAC) fixedPitchComputed(FALSE), #endif fullyLoaded( FALSE ), @@ -357,7 +357,7 @@ struct TQtFontFamily #ifdef TQ_WS_WIN bool scriptCheck : 1; #endif -#if defined(Q_OS_MAC) && !defined(TQWS) +#if defined(Q_OS_MAC) bool fixedPitchComputed : 1; #endif bool fullyLoaded : 1; @@ -654,8 +654,6 @@ static TQFontDatabasePrivate *db=0; # include "qfontdatabase_mac.cpp" #elif defined( TQ_WS_WIN ) # include "qfontdatabase_win.cpp" -#elif defined( TQ_WS_QWS ) -# include "qfontdatabase_qws.cpp" #endif static TQtFontStyle *bestStyle(TQtFontFoundry *foundry, const TQtFontStyle::Key &styleKey) @@ -1578,7 +1576,7 @@ bool TQFontDatabase::isFixedPitch(const TQString &family, load( familyName ); TQtFontFamily *f = d->family( familyName ); -#if defined(Q_OS_MAC) && !defined(TQWS) +#if defined(Q_OS_MAC) if (f) { if (!f->fixedPitchComputed) { TQFontMetrics fm(familyName); |