Skip to content

Commit

Permalink
Attempt to fix Compile Output line mismatches
Browse files Browse the repository at this point in the history
  • Loading branch information
arBmind committed Feb 1, 2025
1 parent 02f7b27 commit 1da6054
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/plugins/projectexplorer/ioutputparser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -118,11 +118,11 @@ void OutputTaskParser::fixTargetLink()

void OutputTaskParser::runPostPrintActions(QPlainTextEdit *edit)
{
int offset = 0;
int offset = 1;
if (const auto ow = qobject_cast<Core::OutputWindow *>(edit)) {
Utils::reverseForeach(taskInfo(), [ow, &offset](const TaskInfo &ti) {
ow->registerPositionOf(ti.task.taskId, ti.linkedLines, ti.skippedLines, offset);
offset += ti.linkedLines;
offset += ti.linkedLines;
});
}

Expand Down

0 comments on commit 1da6054

Please sign in to comment.