Do not load plugin from the $PWD
I see no reason why this would make sense to look for plugins in the current directory. And when there are plugins there, it may actually be wrong Change-Id: I5f5aa168021fedddafce90effde0d5762cd0c4c5 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>bb10
parent
8f2db974ab
commit
bf131e8d21
|
|
@ -305,7 +305,6 @@ static QString locatePlugin(const QString& fileName)
|
|||
paths.append(fileName.left(slash)); // don't include the '/'
|
||||
} else {
|
||||
paths = QCoreApplication::libraryPaths();
|
||||
paths.prepend(QStringLiteral(".")); // search in current dir first
|
||||
}
|
||||
|
||||
for (const QString &path : qAsConst(paths)) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue