OSDN Git Service

remove unusedQFactoryLoader::library() method
authorIvailo Monev <xakepa10@laimg.moc>
Wed, 24 Jul 2019 20:30:35 +0000 (20:30 +0000)
committerIvailo Monev <xakepa10@laimg.moc>
Wed, 24 Jul 2019 20:30:35 +0000 (20:30 +0000)
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
src/core/plugin/qfactoryloader.cpp
src/core/plugin/qfactoryloader_p.h

index dd30574..0d71880 100644 (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());
index 7ceffe3..791ff24 100644 (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);