From a9a4448ea5cfab669d6ddbbcb11a64c17ebf8da3 Mon Sep 17 00:00:00 2001 From: Thomas Hartmann Date: Thu, 13 Mar 2025 16:01:45 +0100 Subject: [PATCH] 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 --- src/plugins/projectexplorer/taskwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/projectexplorer/taskwindow.cpp b/src/plugins/projectexplorer/taskwindow.cpp index 9233d6d255d..c9f1200637b 100644 --- a/src/plugins/projectexplorer/taskwindow.cpp +++ b/src/plugins/projectexplorer/taskwindow.cpp @@ -232,7 +232,7 @@ TaskWindow::TaskWindow() : d(std::make_unique()) connect(hub, &TaskHub::taskFileNameUpdated, this, &TaskWindow::updatedTaskFileName); connect(hub, &TaskHub::tasksCleared, this, &TaskWindow::clearTasks); 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::openTask, this, &TaskWindow::openTask);