Extract text mark functionality into own class

Enhance issue information by id of the issue to be able
to retrieve further details later.

Change-Id: Ia6ff5c8a0064c45b50f9c712a05f6271f356e59a
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
Christian Stenger
2023-01-13 13:49:40 +01:00
parent 4b3f5a04e2
commit 134b71a45a
3 changed files with 23 additions and 7 deletions

View File

@@ -307,6 +307,7 @@ static void parseCsvIssue(const QByteArray &csv, QList<ShortIssue> *issues)
QTC_ASSERT(match.hasMatch(), continue);
// FIXME: some of these are not present for all issue kinds! Limited to SV for now
ShortIssue issue;
issue.id = match.captured("Id");
issue.state = match.captured("State");
issue.errorNumber = match.captured("ErrorNumber");
issue.message = match.captured("Message");