aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/debugger/watchhandler.cpp
diff options
context:
space:
mode:
authorEike Ziller <[email protected]>2020-06-03 09:15:38 +0200
committerEike Ziller <[email protected]>2020-06-03 11:45:48 +0000
commitd1a2de747efd35e1864d34db6b0de7b4b4e9eac0 (patch)
tree2e13c0008f7a89485254d9960781e4f422f25caa /src/plugins/debugger/watchhandler.cpp
parentc9d357fdacf6a35d610c037dc15d57e855933d37 (diff)
Debugger: Use dialogParent instead of mainWindow
Slipped through in 5b364de1685e5bee5953e23da2552b5db4455a74 Change-Id: If316f7310b3861630b58ef9f8fb152cc30de8ef1 Reviewed-by: hjk <[email protected]>
Diffstat (limited to 'src/plugins/debugger/watchhandler.cpp')
-rw-r--r--src/plugins/debugger/watchhandler.cpp2
1 files changed, 1 insertions, 1 deletions
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)