diff --git a/src/plugins/debugger/breakhandler.cpp b/src/plugins/debugger/breakhandler.cpp index 8c104e0dd8f..eba7a8025c4 100644 --- a/src/plugins/debugger/breakhandler.cpp +++ b/src/plugins/debugger/breakhandler.cpp @@ -363,19 +363,19 @@ BreakpointDialog::BreakpointDialog(Breakpoint b, QWidget *parent) // Match BreakpointType (omitting unknown type). const QStringList types = { - tr("File name and line number"), - tr("Function name"), - tr("Break on memory address"), - tr("Break when C++ exception is thrown"), - tr("Break when C++ exception is caught"), - tr("Break when function \"main\" starts"), - tr("Break when a new process is forked"), - tr("Break when a new process is executed"), - tr("Break when a system call is executed"), - tr("Break on data access at fixed address"), - tr("Break on data access at address given by expression"), - tr("Break on QML signal emit"), - tr("Break when JavaScript exception is thrown") + tr("File Name and Line Number"), + tr("Function Name"), + tr("Break on Memory Address"), + tr("Break When C++ Exception Is Thrown"), + tr("Break When C++ Exception Is Caught"), + tr("Break When Function \"main\" Starts"), + tr("Break When a New Process Is Forked"), + tr("Break When a New Process Is Executed"), + tr("Break When a System Call Is Executed"), + tr("Break on Data Access at Fixed Address"), + tr("Break on Data Access at Address Given by Expression"), + tr("Break on QML Signal Emit"), + tr("Break When JavaScript Exception Is Thrown") }; // We don't list UnknownBreakpointType, so 1 less: QTC_CHECK(types.size() + 1 == LastBreakpointType); diff --git a/src/plugins/debugger/commonoptionspage.cpp b/src/plugins/debugger/commonoptionspage.cpp index 1972fe57cdc..644fdabbda6 100644 --- a/src/plugins/debugger/commonoptionspage.cpp +++ b/src/plugins/debugger/commonoptionspage.cpp @@ -115,13 +115,11 @@ QWidget *CommonOptionsPage::widget() "will automatically open views associated with the current location.") + QLatin1Char('\n'); auto checkBoxCloseSourceBuffersOnExit = new QCheckBox(behaviorBox); checkBoxCloseSourceBuffersOnExit->setText(tr("Close temporary source views on debugger exit")); - checkBoxCloseSourceBuffersOnExit->setToolTip(t + tr("Select this option to close " - "automatically opened source views when the debugger exits.")); + checkBoxCloseSourceBuffersOnExit->setToolTip(t + tr("Closes automatically opened source views when the debugger exits.")); auto checkBoxCloseMemoryBuffersOnExit = new QCheckBox(behaviorBox); checkBoxCloseMemoryBuffersOnExit->setText(tr("Close temporary memory views on debugger exit")); - checkBoxCloseMemoryBuffersOnExit->setToolTip(t + tr("Select this option to close " - "automatically opened memory views when the debugger exits.")); + checkBoxCloseMemoryBuffersOnExit->setToolTip(t + tr("Closes automatically opened memory views when the debugger exits.")); auto checkBoxSwitchModeOnExit = new QCheckBox(behaviorBox); checkBoxSwitchModeOnExit->setText(tr("Switch to previous mode on debugger exit"));