forked from qt-creator/qt-creator
Debugger: Remove unneeded re-init of RunParameters::useTerminal
... and some dead code. Change-Id: I22fc6f8ecc09c4c3b928d7b7a510e762a54c0f8f Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
@@ -332,10 +332,6 @@ void DebuggerRunControlCreator::enrich(const RunConfiguration *runConfig, const
|
||||
if (!kit && target)
|
||||
kit = target->kit();
|
||||
|
||||
// Make sure we have something sensible to start with.
|
||||
m_rp.inferior.runMode = ApplicationLauncher::Console;
|
||||
m_rp.useTerminal = false;
|
||||
|
||||
// Extract as much as possible from available RunConfiguration.
|
||||
if (m_runConfig && m_runConfig->runnable().is<StandardRunnable>()) {
|
||||
m_rp.inferior = m_runConfig->runnable().as<StandardRunnable>();
|
||||
|
Reference in New Issue
Block a user