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

@@ -54,8 +54,8 @@ public:
void addCategory(Core::Id categoryId, const QString &categoryName);
QList<Task> tasks(Core::Id categoryId = Core::Id()) const;
void addTask(const Task &task);
void removeTask(const Task &task);
void addTask(const Task &t);
void removeTask(unsigned int id);
void clearTasks(Core::Id categoryId = Core::Id());
void updateTaskFileName(unsigned int id, const QString &fileName);
void updateTaskLineNumber(unsigned int id, int line);