ProjectExplorer: Request popup asynchronously

Showing the output pane can have side effects on the widget that
is sending the request.

Task-number: QDS-14921
Change-Id: I38f7fcb1e104bae4e28f09eec43be318b01b6b52
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Thomas Hartmann
2025-03-13 16:01:45 +01:00
committed by Thomas Hartmann
parent 82ef60ac42
commit a9a4448ea5

View File

@@ -232,7 +232,7 @@ TaskWindow::TaskWindow() : d(std::make_unique<TaskWindowPrivate>())
connect(hub, &TaskHub::taskFileNameUpdated, this, &TaskWindow::updatedTaskFileName); connect(hub, &TaskHub::taskFileNameUpdated, this, &TaskWindow::updatedTaskFileName);
connect(hub, &TaskHub::tasksCleared, this, &TaskWindow::clearTasks); connect(hub, &TaskHub::tasksCleared, this, &TaskWindow::clearTasks);
connect(hub, &TaskHub::categoryVisibilityChanged, this, &TaskWindow::setCategoryVisibility); connect(hub, &TaskHub::categoryVisibilityChanged, this, &TaskWindow::setCategoryVisibility);
connect(hub, &TaskHub::popupRequested, this, &TaskWindow::popup); connect(hub, &TaskHub::popupRequested, this, &TaskWindow::popup, Qt::QueuedConnection);
connect(hub, &TaskHub::showTask, this, &TaskWindow::showTask); connect(hub, &TaskHub::showTask, this, &TaskWindow::showTask);
connect(hub, &TaskHub::openTask, this, &TaskWindow::openTask); connect(hub, &TaskHub::openTask, this, &TaskWindow::openTask);