ProjectExplorer: Allow multi-selection in issues pane

Users should be able to copy or remove several issues at once.

Fixes: QTCREATORBUG-25547
Fixes: QTCREATORBUG-26720
Change-Id: I1ac75a3445c37200b6a01dd8c5d79d2b69c54a3c
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
Christian Kandeler
2021-12-13 12:06:11 +01:00
parent 2c96ee2ee4
commit 5207374d5d
9 changed files with 99 additions and 60 deletions

View File

@@ -33,9 +33,10 @@
namespace ProjectExplorer {
namespace Internal {
void RemoveTaskHandler::handle(const Task &task)
void RemoveTaskHandler::handle(const Tasks &tasks)
{
TaskHub::removeTask(task);
for (const Task &task : tasks)
TaskHub::removeTask(task);
}
QAction *RemoveTaskHandler::createAction(QObject *parent) const