SquishTests: Update reading build issues

Fixes tst_build_new_project, tst_CCOM02 et al.

tst_tasks_handling fails which might be an actual issue, reported in:

Task-number: QTCREATORBUG-29209
Change-Id: I5eae54df27d8ba8f441e5b9c4acdaa2b41716245
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
Robert Löhning
2023-05-26 00:23:58 +02:00
parent 7bd06829c4
commit 58fb6f88a6
8 changed files with 13 additions and 11 deletions

View File

@@ -273,6 +273,8 @@ QVariant TaskModel::data(const QModelIndex &index, int role) const
return task.summary;
case TaskModel::Description:
return task.description();
case TaskModel::Type:
return int(task.type);
}
return {};
}

View File

@@ -44,7 +44,7 @@ public:
int sizeOfLineNumber(const QFont &font);
void setFileNotFound(const QModelIndex &index, bool b);
enum Roles { Description = Qt::UserRole, };
enum Roles { Description = Qt::UserRole, Type};
int taskCount(Utils::Id categoryId);
int errorTaskCount(Utils::Id categoryId);