remove unusedQFactoryLoader::library() method

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
Ivailo Monev 2019-07-24 20:30:35 +00:00
parent 2f90ea4803
commit 646437d52a
2 changed files with 0 additions and 12 deletions

View file

@ -248,14 +248,6 @@ QObject *QFactoryLoader::instance(const QString &key) const
return 0;
}
#ifdef Q_WS_X11
QLibraryPrivate *QFactoryLoader::library(const QString &key) const
{
Q_D(const QFactoryLoader);
return d->keyMap.value(d->cs ? key : key.toLower());
}
#endif
void QFactoryLoader::refreshAll()
{
QMutexLocker locker(qt_factoryloader_mutex());

View file

@ -69,10 +69,6 @@ public:
QStringList keys() const;
QObject *instance(const QString &key) const;
#ifdef Q_WS_X11
QLibraryPrivate *library(const QString &key) const;
#endif
void update();
void updateDir(const QString &pluginDir, QSettings *settings);