aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlimport.cpp
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@theqtcompany.com>2016-05-09 16:03:09 +0200
committerSimon Hausmann <simon.hausmann@theqtcompany.com>2016-05-09 16:04:02 +0200
commitb697f511ab226079c161ea68c18ac85c5533d3cc (patch)
tree707be29e37af5cbcc1c12d0a3d1cf67078e79b5f /src/qml/qml/qqmlimport.cpp
parent1484039a77d86504901e82b18582d908648b8d35 (diff)
parent6f59c91c51edd7207635c3fa2f0b2b1179e7aa6e (diff)
Merge remote-tracking branch 'origin/5.6.1' into 5.7
Diffstat (limited to 'src/qml/qml/qqmlimport.cpp')
-rw-r--r--src/qml/qml/qqmlimport.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/qml/qqmlimport.cpp b/src/qml/qml/qqmlimport.cpp
index 514e7beef8..072ce46273 100644
--- a/src/qml/qml/qqmlimport.cpp
+++ b/src/qml/qml/qqmlimport.cpp
@@ -893,7 +893,7 @@ bool QQmlImportsPrivate::populatePluginPairVector(QVector<StaticPluginPair> &res
// To avoid traversing all static plugins for all imports, we cut down
// the list the first time called to only contain QML plugins:
foreach (const QStaticPlugin &plugin, QPluginLoader::staticPlugins()) {
- if (plugin.metaData().value(QStringLiteral("IID")).toString() == QLatin1String(QQmlExtensionInterface_iid))
+ if (qobject_cast<QQmlExtensionPlugin *>(plugin.instance()))
plugins.append(plugin);
}
}