Fixed Cppcheck warning; different argument names

This commit is contained in:
Daniel Marjamäki 2020-12-04 18:53:17 +01:00
parent aa28f3fe8c
commit 2530b36d9d
1 changed files with 3 additions and 3 deletions

View File

@ -815,12 +815,12 @@ void ProjectFile::setVSConfigurations(const QStringList &vsConfigs)
mVsConfigurations = vsConfigs; mVsConfigurations = vsConfigs;
} }
void ProjectFile::setWarningTags(std::size_t hash, QString tag) void ProjectFile::setWarningTags(std::size_t hash, QString tags)
{ {
if (tag.isEmpty()) if (tags.isEmpty())
mWarningTags.erase(hash); mWarningTags.erase(hash);
else if (hash > 0) else if (hash > 0)
mWarningTags[hash] = tag; mWarningTags[hash] = tags;
} }
QString ProjectFile::getWarningTags(std::size_t hash) const QString ProjectFile::getWarningTags(std::size_t hash) const