GUI: Remove unused method

This commit is contained in:
Daniel Marjamäki 2017-08-02 20:27:38 +02:00
parent 78e30e735e
commit 77d9a4d981
2 changed files with 0 additions and 21 deletions

View File

@ -1025,22 +1025,6 @@ void ResultsTree::saveErrors(Report *report, QStandardItem *fileItem) const
}
}
QList<ErrorItem> ResultsTree::getAllErrorItems() const
{
QList<ErrorItem> ret;
for (int i = 0; i < mModel.rowCount(); i++) {
const QStandardItem *item = mModel.item(i,0);
for (int j = 0; j < item->rowCount(); j++) {
const QStandardItem *error = item->child(j,0);
ErrorItem errorItem;
readErrorItem(error, &errorItem);
ret << errorItem;
}
}
return ret;
}
static int indexOf(const QList<ErrorItem> &list, const ErrorItem &item)
{
for (int i = 0; i < list.size(); i++) {

View File

@ -103,11 +103,6 @@ public:
*/
void saveResults(Report *report) const;
/**
* @brief Get all error items
*/
QList<ErrorItem> getAllErrorItems() const;
/**
* @brief Update items from old report (tag, sinceDate)
*/