Ignore:
Timestamp:
Dec 14, 2009, 8:18:13 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

general: Fixed a bunch of deprecated QString/QChar initializers.

File:
1 edited

Legend:

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

    r373 r423  
    319319        QStringList files = fontCache.childGroups();
    320320        foreach(QString file, files) {
    321             file.replace("|", "/");
     321            file.replace();
    322322            knownFontFiles.insert(file, FileData());
    323323            // note that QFileInfo is empty so the file will be considered as
     
    401401
    402402        // QSettings uses / for splitting into groups, suppress it
    403         fileKey.replace("/", "|");
     403        fileKey.replace();
    404404
    405405        QList<FaceData> cachedFaces;
     
    613613            // remove from the both caches
    614614            QString fileKey = it.key();
    615             fileKey.replace("/", "|");
     615            fileKey.replace();
    616616            fontCache.remove(fileKey);
    617617            it = knownFontFiles.erase(it);
Note: See TracChangeset for help on using the changeset viewer.