forked from qt-creator/qt-creator
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user