forked from qt-creator/qt-creator
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 <nikolai.kosjar@qt.io>
This commit is contained in:
@@ -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'...)
|
||||
|
Reference in New Issue
Block a user