forked from qt-creator/qt-creator
Clang: Do not flash issues pane when switching editor
Previously, when swichting to a file with errors, the Issues pane button would flash. Stop this for the clang code model issues as it is rather annoying since the issues pane is updated for the current document. Change-Id: I403a8b8cd0deef586c53769d0b646855a7fc9278 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
@@ -61,8 +61,8 @@ unsigned int Task::s_nextId = 1;
|
||||
|
||||
Task::Task(TaskType type_, const QString &description_,
|
||||
const Utils::FileName &file_, int line_, Core::Id category_,
|
||||
const QIcon &icon, bool addTextMark) :
|
||||
taskId(s_nextId), type(type_), addTextMark(addTextMark), description(description_),
|
||||
const QIcon &icon, Options options) :
|
||||
taskId(s_nextId), type(type_), options(options), description(description_),
|
||||
file(file_), line(line_), movedLine(line_), category(category_),
|
||||
icon(icon.isNull() ? taskTypeIcon(type_) : icon)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user