aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/cppcheck/cppchecktool.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/cppcheck/cppchecktool.cpp')
-rw-r--r--src/plugins/cppcheck/cppchecktool.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/cppcheck/cppchecktool.cpp b/src/plugins/cppcheck/cppchecktool.cpp
index 02c87260850..96c9b878e24 100644
--- a/src/plugins/cppcheck/cppchecktool.cpp
+++ b/src/plugins/cppcheck/cppchecktool.cpp
@@ -182,7 +182,7 @@ void CppcheckTool::check(const Utils::FilePaths &files)
= CppEditor::CppModelManager::projectInfo(m_project);
if (!info)
return;
- const QVector<CppEditor::ProjectPart::ConstPtr> parts = info->projectParts();
+ const QList<CppEditor::ProjectPart::ConstPtr> parts = info->projectParts();
if (parts.size() == 1) {
QTC_ASSERT(parts.first(), return);
addToQueue(filtered, *parts.first());