diff --git a/src/gui/text/qfontdatabase.cpp b/src/gui/text/qfontdatabase.cpp index 7012ca0869..3431757ff2 100644 --- a/src/gui/text/qfontdatabase.cpp +++ b/src/gui/text/qfontdatabase.cpp @@ -2141,9 +2141,6 @@ void QFontDatabasePrivate::parseFontName(const QString &name, QString &foundry, QT_PREPEND_NAMESPACE(parseFontName)(name, foundry, family); } -void QFontDatabasePrivate::createDatabase() -{ initializeDb(); } - // used from qfontengine_ft.cpp Q_GUI_EXPORT QByteArray qt_fontdata_from_index(int index) { diff --git a/src/gui/text/qfontdatabase_p.h b/src/gui/text/qfontdatabase_p.h index 8d931a2f55..6d3530223a 100644 --- a/src/gui/text/qfontdatabase_p.h +++ b/src/gui/text/qfontdatabase_p.h @@ -264,7 +264,6 @@ public: static QFontDatabasePrivate *instance(); - static void createDatabase(); static void parseFontName(const QString &name, QString &foundry, QString &family); static QString resolveFontFamilyAlias(const QString &family); static QFontEngine *findFont(const QFontDef &request,