bool QFontDatabase::removeAllApplicationFonts() { QFontDatabasePrivate *db = privateDb(); for(int i = 0; i < db->applicationFonts.count(); ++i) { if(!removeApplicationFont(i)) return false; } return true; }
bool QFontDatabase::removeAllApplicationFonts() { QMutexLocker locker(fontDatabaseMutex()); QFontDatabasePrivate *db = privateDb(); for (int i = 0; i < db->applicationFonts.count(); ++i) if (!removeApplicationFont(i)) return false; return true; }