| 168 | } |
| 169 | |
| 170 | void ResultsView::error(const ErrorItem &item) |
| 171 | { |
| 172 | if (item.severity == Severity::internal && (item.errorId == "logChecker" || item.errorId.endsWith("-logChecker"))) { |
| 173 | mStatistics->addChecker(item.message); |
| 174 | return; |
| 175 | } |
| 176 | |
| 177 | handleCriticalError(item); |
| 178 | |
| 179 | if (item.severity == Severity::internal) |
| 180 | return; |
| 181 | |
| 182 | if (mUI->mTree->addErrorItem(item)) { |
| 183 | emit gotResults(); |
| 184 | mStatistics->addItem(item.tool(), ShowTypes::SeverityToShowType(item.severity)); |
| 185 | } |
| 186 | } |
| 187 | |
| 188 | void ResultsView::filterResults(const QString& filter) |
| 189 | { |
no test coverage detected