Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
16adcc48
Commit
16adcc48
authored
Aug 04, 2010
by
Tobias Hunger
Browse files
Wrong line is highlighted when showing source of task
* Fix off-by-one error when showing compile output of a task
parent
3652b9db
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/projectexplorer/compileoutputwindow.cpp
View file @
16adcc48
...
...
@@ -174,7 +174,7 @@ void CompileOutputWindow::registerPositionOf(const Task &task)
int
blocknumber
=
m_outputWindow
->
blockCount
();
if
(
blocknumber
>
MAX_LINECOUNT
)
return
;
m_taskPositions
.
insert
(
task
.
taskId
,
blocknumber
-
1
);
m_taskPositions
.
insert
(
task
.
taskId
,
blocknumber
);
}
bool
CompileOutputWindow
::
knowsPositionOf
(
const
Task
&
task
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment