Skip to content
Snippets Groups Projects
Commit 189dbc58 authored by hjk's avatar hjk
Browse files

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: default avatarNikolai Kosjar <nikolai.kosjar@qt.io>
parent 39bf2257
No related branches found
No related tags found
No related merge requests found
......@@ -760,8 +760,8 @@ DebuggerRunTool::DebuggerRunTool(RunControl *runControl)
QString(), QString(), optionalPrompt);
});
Runnable r = runnable(); {
if (r.is<StandardRunnable>())
Runnable r = runnable();
if (r.is<StandardRunnable>()) {
m_runParameters.inferior = r.as<StandardRunnable>();
m_runParameters.useTerminal = m_runParameters.inferior.runMode == ApplicationLauncher::Console;
// Normalize to work around QTBUG-17529 (QtDeclarative fails with 'File name case mismatch'...)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment