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:
hjk
2016-03-22 16:34:55 +01:00
parent 6b2b58477f
commit 0301a703ec

View File

@@ -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>();