From b02f6b5d30a81040ad5f4912d689926ddc4da95a Mon Sep 17 00:00:00 2001 From: Christian Kandeler Date: Tue, 12 May 2020 16:26:34 +0200 Subject: ProjectExplorer: Give the Task class an explicit summary We'd like to create more useful tasks from compiler output, that is, try harder to identify consecutive lines that refer to the same issue and create one task for them, rather than one for each line. In such "aggregate" tasks, the first line will not necessarily carry the main information. Therefore, we make it explicit what this main information is by introducing a dedicated summary member. Also streamline the font handling for compile tasks. Change-Id: I933f2643a13c710dab1ab548c56669b129026eb5 Reviewed-by: hjk --- src/plugins/projectexplorer/gccparser.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/projectexplorer/gccparser.h') diff --git a/src/plugins/projectexplorer/gccparser.h b/src/plugins/projectexplorer/gccparser.h index 76afb53668..326b02a47d 100644 --- a/src/plugins/projectexplorer/gccparser.h +++ b/src/plugins/projectexplorer/gccparser.h @@ -48,7 +48,7 @@ protected: void newTask(const Task &task); void flush() override; - void amendDescription(const QString &desc, bool monospaced); + void amendDescription(const QString &desc); private: Result handleLine(const QString &line, Utils::OutputFormat type) override; -- cgit v1.2.3