aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/debugger/debuggerrunconfigurationaspect.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/debugger/debuggerrunconfigurationaspect.cpp')
-rw-r--r--src/plugins/debugger/debuggerrunconfigurationaspect.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/plugins/debugger/debuggerrunconfigurationaspect.cpp b/src/plugins/debugger/debuggerrunconfigurationaspect.cpp
index cff934e398..bef91c5992 100644
--- a/src/plugins/debugger/debuggerrunconfigurationaspect.cpp
+++ b/src/plugins/debugger/debuggerrunconfigurationaspect.cpp
@@ -77,10 +77,15 @@ DebuggerRunConfigurationAspect::DebuggerRunConfigurationAspect(Target *target)
const auto setSummaryText = [this, details] {
const auto describe = [](const TriStateAspect &aspect, const QString &name) {
- if (aspect() == TriState::Enabled)
+ if (aspect() == TriState::Enabled) {
+ //: %1 is C++, QML, or Python
return Tr::tr("Enable %1 debugger.").arg(name);
- if (aspect() == TriState::Disabled)
+ }
+ if (aspect() == TriState::Disabled) {
+ //: %1 is C++, QML, or Python
return Tr::tr("Disable %1 debugger.").arg(name);
+ }
+ //: %1 is C++, QML, or Python
return Tr::tr("Try to determine need for %1 debugger.").arg(name);
};