aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/projectexplorer/taskmodel.h
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2019-02-25 14:21:42 +0100
committerChristian Kandeler <christian.kandeler@qt.io>2019-02-25 14:52:35 +0000
commitf3778d77fecbf423c876661991954e2538e31a8a (patch)
treefc38e35deb8bdf428891cda5472c6060c18fa18e /src/plugins/projectexplorer/taskmodel.h
parent2b1b00d0e6261bb47660d569553d639a59a73a77 (diff)
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>
Diffstat (limited to 'src/plugins/projectexplorer/taskmodel.h')
-rw-r--r--src/plugins/projectexplorer/taskmodel.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/projectexplorer/taskmodel.h b/src/plugins/projectexplorer/taskmodel.h
index 4b2757c289..a0e5e5a0a4 100644
--- a/src/plugins/projectexplorer/taskmodel.h
+++ b/src/plugins/projectexplorer/taskmodel.h
@@ -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);