forked from qt-creator/qt-creator
QmlDesigner: fix typo
Change-Id: I2390509fab6fc0a6b71f90bacc7173b4540c3dc3 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
@@ -335,12 +335,12 @@ void projectQmldirPaths(::ProjectExplorer::Target *target, QStringList &qmldirPa
|
|||||||
{
|
{
|
||||||
::QmlProjectManager::QmlBuildSystem *buildSystem = getQmlBuildSystem(target);
|
::QmlProjectManager::QmlBuildSystem *buildSystem = getQmlBuildSystem(target);
|
||||||
|
|
||||||
const Utils::FilePath pojectDirectoryPath = buildSystem->canonicalProjectDir();
|
const Utils::FilePath projectDirectoryPath = buildSystem->canonicalProjectDir();
|
||||||
const QStringList importPaths = buildSystem->importPaths();
|
const QStringList importPaths = buildSystem->importPaths();
|
||||||
const QDir pojectDirectory(pojectDirectoryPath.toString());
|
const QDir projectDirectory(projectDirectoryPath.toString());
|
||||||
|
|
||||||
for (const QString &importPath : importPaths)
|
for (const QString &importPath : importPaths)
|
||||||
qmldirPaths.push_back(QDir::cleanPath(pojectDirectory.absoluteFilePath(importPath))
|
qmldirPaths.push_back(QDir::cleanPath(projectDirectory.absoluteFilePath(importPath))
|
||||||
+ "/qmldir");
|
+ "/qmldir");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user