diff --git a/src/gui/text/qfontdatabase.cpp b/src/gui/text/qfontdatabase.cpp index 03af84913..06511bb01 100644 --- a/src/gui/text/qfontdatabase.cpp +++ b/src/gui/text/qfontdatabase.cpp @@ -1058,25 +1058,6 @@ void QFontDatabasePrivate::parseFontName(const QString &name, QString &foundry, foundry.clear(); family = name; } - - // capitalize the family/foundry names - bool space = true; - QChar *s = family.data(); - int len = family.length(); - while(len--) { - if (space) *s = s->toUpper(); - space = s->isSpace(); - ++s; - } - - space = true; - s = foundry.data(); - len = foundry.length(); - while(len--) { - if (space) *s = s->toUpper(); - space = s->isSpace(); - ++s; - } } /*!