forked from qt-creator/qt-creator
CompilerExplorer: Fix adding text marks to ASM
Change-Id: I99d5090f770ad74c0e0c0317186d436ced492280 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -479,6 +479,7 @@ void CompilerWidget::doCompile()
|
||||
auto mark = new TextMark(m_asmDocument.get(),
|
||||
i,
|
||||
TextMarkCategory{Tr::tr("Bytes"), "Bytes"});
|
||||
m_asmDocument->addMark(mark);
|
||||
mark->setLineAnnotation(l.opcodes.join(' '));
|
||||
m_marks.append(mark);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user