forked from qt-creator/qt-creator
debugger: avoid unpleasant line break in warning
This commit is contained in:
@@ -267,8 +267,8 @@ DebuggerSettings *DebuggerSettings::instance()
|
||||
item = new SavedAction(instance);
|
||||
item->setText(tr("Use precise breakpoints"));
|
||||
item->setCheckable(true);
|
||||
item->setDefaultValue(true);
|
||||
item->setValue(true);
|
||||
item->setDefaultValue(false);
|
||||
item->setValue(false);
|
||||
item->setSettingsKey(debugModeGroup, QLatin1String("UsePreciseBreakpoints"));
|
||||
instance->insertItem(UsePreciseBreakpoints, item);
|
||||
|
||||
|
@@ -247,7 +247,7 @@ bool DebuggerListener::coreAboutToClose()
|
||||
break;
|
||||
}
|
||||
const QString question = cleanTermination ?
|
||||
tr("A debugging session is still in progress. Would you like to terminate it?") :
|
||||
tr("A debugging session is still in progress.\nWould you like to terminate it?") :
|
||||
tr("A debugging session is still in progress. Terminating the session in the current"
|
||||
" state (%1) can leave the target in an inconsistent state."
|
||||
" Would you still like to terminate it?")
|
||||
|
Reference in New Issue
Block a user