Commit 67e04194 authored by hjk's avatar hjk
Browse files

debugger: break long lines

parent 834c2b46
...@@ -829,13 +829,15 @@ void DebuggerManager::startNewDebugger(const DebuggerStartParametersPtr &sp) ...@@ -829,13 +829,15 @@ void DebuggerManager::startNewDebugger(const DebuggerStartParametersPtr &sp)
switch (startMode()) { switch (startMode()) {
case AttachExternal: case AttachExternal:
case AttachCrashedExternal: case AttachCrashedExternal:
m_engine = determineDebuggerEngine(m_startParameters->attachPID, m_startParameters->toolChainType, &errorMessage); m_engine = determineDebuggerEngine(m_startParameters->attachPID,
m_startParameters->toolChainType, &errorMessage);
break; break;
case AttachTcf: case AttachTcf:
m_engine = tcfEngine; m_engine = tcfEngine;
break; break;
default: default:
m_engine = determineDebuggerEngine(m_startParameters->executable, m_startParameters->toolChainType, &errorMessage, &settingsIdHint); m_engine = determineDebuggerEngine(m_startParameters->executable,
m_startParameters->toolChainType, &errorMessage, &settingsIdHint);
break; break;
} }
...@@ -851,7 +853,8 @@ void DebuggerManager::startNewDebugger(const DebuggerStartParametersPtr &sp) ...@@ -851,7 +853,8 @@ void DebuggerManager::startNewDebugger(const DebuggerStartParametersPtr &sp)
settingsButton = msgBox.addButton(tr("Settings..."), QMessageBox::AcceptRole); settingsButton = msgBox.addButton(tr("Settings..."), QMessageBox::AcceptRole);
msgBox.exec(); msgBox.exec();
if (msgBox.clickedButton() == settingsButton) if (msgBox.clickedButton() == settingsButton)
Core::ICore::instance()->showOptionsDialog(_(Debugger::Constants::DEBUGGER_SETTINGS_CATEGORY), settingsIdHint); Core::ICore::instance()->showOptionsDialog(
_(Debugger::Constants::DEBUGGER_SETTINGS_CATEGORY), settingsIdHint);
return; return;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment