aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/cppcheck/cppchecktextmarkmanager.cpp
diff options
context:
space:
mode:
authorhjk <[email protected]>2019-05-28 13:49:26 +0200
committerhjk <[email protected]>2019-05-28 12:23:26 +0000
commit473a741c9fcf09febba312464fab8385e2351181 (patch)
tree2d328a090993cb5c5fd34b43e9468bcbf7e4d4d0 /src/plugins/cppcheck/cppchecktextmarkmanager.cpp
parent4704f49fbb1201ebf10ab9dbaed0275ff25faba8 (diff)
Utils: Rename FileName to FilePath
More in line with QFileInfo terminonlogy which appears to be best-of-breed within Qt. Change-Id: I1d051ff1c8363ebd4ee56376451df45216c4c9ab Reviewed-by: Christian Kandeler <[email protected]>
Diffstat (limited to 'src/plugins/cppcheck/cppchecktextmarkmanager.cpp')
-rw-r--r--src/plugins/cppcheck/cppchecktextmarkmanager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/cppcheck/cppchecktextmarkmanager.cpp b/src/plugins/cppcheck/cppchecktextmarkmanager.cpp
index 2d19a221513..9c2d50c6aa5 100644
--- a/src/plugins/cppcheck/cppchecktextmarkmanager.cpp
+++ b/src/plugins/cppcheck/cppchecktextmarkmanager.cpp
@@ -45,13 +45,13 @@ void CppcheckTextMarkManager::add(const Diagnostic &diagnostic)
fileMarks.push_back(std::make_unique<CppcheckTextMark>(diagnostic));
}
-void CppcheckTextMarkManager::clearFiles(const Utils::FileNameList &files)
+void CppcheckTextMarkManager::clearFiles(const Utils::FilePathList &files)
{
if (m_marks.empty())
return;
if (!files.empty()) {
- for (const Utils::FileName &file : files)
+ for (const Utils::FilePath &file : files)
m_marks.erase(file);
} else {
m_marks.clear();