aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/debugger/debuggerplugin.cpp
diff options
context:
space:
mode:
authorMarcus Tillmanns <[email protected]>2023-04-28 08:39:20 +0200
committerMarcus Tillmanns <[email protected]>2023-05-17 08:01:13 +0000
commit1fc2459b6219a0163f2a52bb636f6ec473791615 (patch)
treead646664e2a7fc3d08def363e94aab1f9108181c /src/plugins/debugger/debuggerplugin.cpp
parent29371dc2f3d736b04ee706e2bd2498e8d8ea755a (diff)
Utils: Unify CheckableMessageBox and make it look more native
Change-Id: I5690c16f38cfd2058e01441283bec28d44cadf75 Reviewed-by: Eike Ziller <[email protected]> Reviewed-by: Qt CI Bot <[email protected]>
Diffstat (limited to 'src/plugins/debugger/debuggerplugin.cpp')
-rw-r--r--src/plugins/debugger/debuggerplugin.cpp11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/plugins/debugger/debuggerplugin.cpp b/src/plugins/debugger/debuggerplugin.cpp
index e8c14d4dccf..8b14ff0e236 100644
--- a/src/plugins/debugger/debuggerplugin.cpp
+++ b/src/plugins/debugger/debuggerplugin.cpp
@@ -2240,10 +2240,13 @@ bool wantRunTool(ToolMode toolMode, const QString &toolName)
"or otherwise insufficient output.</p><p>"
"Do you want to continue and run the tool in %2 mode?</p></body></html>")
.arg(toolName).arg(currentMode).arg(toolModeString);
- if (Utils::CheckableMessageBox::doNotAskAgainQuestion(ICore::dialogParent(),
- title, message, ICore::settings(), "AnalyzerCorrectModeWarning")
- != QDialogButtonBox::Yes)
- return false;
+ if (Utils::CheckableMessageBox::question(ICore::dialogParent(),
+ title,
+ message,
+ ICore::settings(),
+ "AnalyzerCorrectModeWarning")
+ != QMessageBox::Yes)
+ return false;
}
return true;