ProjectExplorer: Add fallback finder for file paths in issues pane

The more specific output parsers often fail to resolve relative file
paths, so add a fallback that attempts to find the corresponding file in
the current session.
A follow-up patch should add support for manual ambiguity resolving.

Change-Id: If0aecbab0f3bf1aa779f4a538076c87ae6bf22d4
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Christian Kandeler
2019-02-25 14:21:42 +01:00
parent 2b1b00d0e6
commit f3778d77fe
7 changed files with 147 additions and 9 deletions

View File

@@ -454,7 +454,7 @@ void TaskWindow::addTask(const Task &task)
void TaskWindow::removeTask(const Task &task)
{
d->m_model->removeTask(task);
d->m_model->removeTask(task.taskId);
emit tasksChanged();
navigateStateChanged();