GUI: Use const argument

This commit is contained in:
Daniel Marjamäki 2020-07-14 18:19:03 +02:00
parent a6d70b9022
commit 62702a6816
2 changed files with 2 additions and 2 deletions

View File

@ -1133,7 +1133,7 @@ void ResultsTree::saveResults(Report *report) const
report->writeFooter();
}
void ResultsTree::saveErrors(Report *report, QStandardItem *fileItem) const
void ResultsTree::saveErrors(Report *report, const QStandardItem *fileItem) const
{
if (!fileItem) {
return;

View File

@ -333,7 +333,7 @@ protected:
* @param report Report that errors are saved to
* @param fileItem Item whose errors to save
*/
void saveErrors(Report *report, QStandardItem *fileItem) const;
void saveErrors(Report *report, const QStandardItem *fileItem) const;
/**
* @brief Convert a severity string to a icon filename