GUI: Use const argument
This commit is contained in:
parent
a6d70b9022
commit
62702a6816
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue