From d1a2de747efd35e1864d34db6b0de7b4b4e9eac0 Mon Sep 17 00:00:00 2001 From: Eike Ziller Date: Wed, 3 Jun 2020 09:15:38 +0200 Subject: [PATCH] Debugger: Use dialogParent instead of mainWindow Slipped through in 5b364de1685e5bee5953e23da2552b5db4455a74 Change-Id: If316f7310b3861630b58ef9f8fb152cc30de8ef1 Reviewed-by: hjk --- src/plugins/debugger/watchhandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/debugger/watchhandler.cpp b/src/plugins/debugger/watchhandler.cpp index bd473776ef1..6d628ca2987 100644 --- a/src/plugins/debugger/watchhandler.cpp +++ b/src/plugins/debugger/watchhandler.cpp @@ -2463,7 +2463,7 @@ void WatchModel::clearWatches() return; const QDialogButtonBox::StandardButton ret = CheckableMessageBox::doNotAskAgainQuestion( - ICore::mainWindow(), tr("Remove All Expression Evaluators"), + ICore::dialogParent(), tr("Remove All Expression Evaluators"), tr("Are you sure you want to remove all expression evaluators?"), ICore::settings(), "RemoveAllWatchers"); if (ret != QDialogButtonBox::Yes)