Ignore:
Timestamp:
Feb 2, 2010, 10:46:30 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

gui/text: Implemented QFontDatabase::addApplicationFont()/removeApplicationFont() and friends (closes #89).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gui/text/qfontdatabase.cpp

    r318 r500  
    582582        : count(0), families(0), reregisterAppFonts(false)
    583583#if defined(Q_WS_QWS)
    584           , stream(0)
     584        , stream(0)
     585#endif
     586#if defined(Q_WS_PM)
     587        , valid(false)
    585588#endif
    586589    { }
     
    634637    QStringList fallbackFamilies;
    635638#endif
     639
     640#if defined(Q_WS_PM)
     641    bool valid;
     642#endif
    636643};
    637644
     
    640647    QFontCache::instance()->clear();
    641648    free();
     649#if defined(Q_WS_PM)
     650    valid = false;
     651#endif
    642652    emit static_cast<QApplication *>(QApplication::instance())->fontDatabaseChanged();
    643653}
Note: See TracChangeset for help on using the changeset viewer.