Skip to content
Snippets Groups Projects
Commit 2deae8c8 authored by Tobias Hunger's avatar Tobias Hunger
Browse files

Improve qHash function for Tasks

parent d9fbf55a
No related branches found
No related tags found
No related merge requests found
......@@ -46,7 +46,10 @@ bool operator==(const Task &t1, const Task &t2)
uint qHash(const Task &task)
{
return qHash(task.file) + task.line;
return static_cast<int>(task.type) +
task.line +
qHash(task.file) +
qHash(task.category);
}
} // namespace ProjectExplorer
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment