QmlDesigner: fix typo

Change-Id: I2390509fab6fc0a6b71f90bacc7173b4540c3dc3
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
Tim Jenssen
2023-06-06 22:36:51 +02:00
parent 390b4aa895
commit 723b71e897

View File

@@ -335,12 +335,12 @@ void projectQmldirPaths(::ProjectExplorer::Target *target, QStringList &qmldirPa
{
::QmlProjectManager::QmlBuildSystem *buildSystem = getQmlBuildSystem(target);
const Utils::FilePath pojectDirectoryPath = buildSystem->canonicalProjectDir();
const Utils::FilePath projectDirectoryPath = buildSystem->canonicalProjectDir();
const QStringList importPaths = buildSystem->importPaths();
const QDir pojectDirectory(pojectDirectoryPath.toString());
const QDir projectDirectory(projectDirectoryPath.toString());
for (const QString &importPath : importPaths)
qmldirPaths.push_back(QDir::cleanPath(pojectDirectory.absoluteFilePath(importPath))
qmldirPaths.push_back(QDir::cleanPath(projectDirectory.absoluteFilePath(importPath))
+ "/qmldir");
}