QFontDatabase: Remove unused createDatabase() function

Last uses was removed in 76068d0114.

Pick-to: 6.2 6.3
Change-Id: I8e1f404d2422e0f11dc28e52ce6dafa77e148126
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
This commit is contained in:
Tor Arne Vestbø 2022-03-25 11:01:31 +01:00
parent 496bf5a946
commit 4a3a6ef40c
2 changed files with 0 additions and 4 deletions

View File

@ -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)
{

View File

@ -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,