Fixed Cppcheck warning; different argument names
This commit is contained in:
parent
aa28f3fe8c
commit
2530b36d9d
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue