Commit 10cdb127 authored by Glebs Ivanovskis's avatar Glebs Ivanovskis Committed by Christoph Cullmann
Browse files

Show diagnostic code in UI

parent 0b16bebe
Pipeline #220916 passed with stage
in 6 minutes and 13 seconds
......@@ -2538,6 +2538,9 @@ public:
if (diag.source.length()) {
source = QStringLiteral("[%1] ").arg(diag.source);
if (diag.code.length()) {
source += QStringLiteral("(%1) ").arg(diag.code);
item->setData(diagnosticsIcon(diag.severity), Qt::DecorationRole);
// rendering of lines with embedded newlines does not work so well
// so ... split message by lines
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment