forked from qt-creator/qt-creator
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:
@@ -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 {};
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user