Commit 189dbc58 authored by hjk's avatar hjk

Debugger: Fix misplaced {

Harm was limited, as these were the fallback values for terminal
and working directory that are overridden in all cases with
real RunConfiguations.

Change-Id: I7d3cef1ac814a0ffcf60a8977e0ae13136ea50b5
Reviewed-by: Nikolai Kosjar's avatarNikolai Kosjar <nikolai.kosjar@qt.io>
parent 39bf2257
...@@ -760,8 +760,8 @@ DebuggerRunTool::DebuggerRunTool(RunControl *runControl) ...@@ -760,8 +760,8 @@ DebuggerRunTool::DebuggerRunTool(RunControl *runControl)
QString(), QString(), optionalPrompt); QString(), QString(), optionalPrompt);
}); });
Runnable r = runnable(); { Runnable r = runnable();
if (r.is<StandardRunnable>()) if (r.is<StandardRunnable>()) {
m_runParameters.inferior = r.as<StandardRunnable>(); m_runParameters.inferior = r.as<StandardRunnable>();
m_runParameters.useTerminal = m_runParameters.inferior.runMode == ApplicationLauncher::Console; m_runParameters.useTerminal = m_runParameters.inferior.runMode == ApplicationLauncher::Console;
// Normalize to work around QTBUG-17529 (QtDeclarative fails with 'File name case mismatch'...) // Normalize to work around QTBUG-17529 (QtDeclarative fails with 'File name case mismatch'...)
......
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