diff options
Diffstat (limited to 'src/plugins/python/pythonproject.cpp')
-rw-r--r-- | src/plugins/python/pythonproject.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/python/pythonproject.cpp b/src/plugins/python/pythonproject.cpp index 7666100cd4..70528b0c99 100644 --- a/src/plugins/python/pythonproject.cpp +++ b/src/plugins/python/pythonproject.cpp @@ -227,7 +227,7 @@ void PythonBuildSystem::triggerParsing() QList<BuildTargetInfo> appTargets; auto newRoot = std::make_unique<PythonProjectNode>(projectDirectory()); - for (const QString &f : qAsConst(m_files)) { + for (const QString &f : std::as_const(m_files)) { const QString displayName = baseDir.relativeFilePath(f); const FilePath filePath = FilePath::fromString(f); const FileType fileType = getFileType(filePath); @@ -252,7 +252,7 @@ void PythonBuildSystem::triggerParsing() if (modelManager) { auto projectInfo = modelManager->defaultProjectInfoForProject(project()); - for (const QString &importPath : qAsConst(m_qmlImportPaths)) { + for (const QString &importPath : std::as_const(m_qmlImportPaths)) { const FilePath filePath = FilePath::fromString(importPath); projectInfo.importPaths.maybeInsert(filePath, QmlJS::Dialect::Qml); } |