Maemo: Remove double initialization of debugger manager.

This commit is contained in:
ck
2010-04-13 10:39:24 +02:00
parent 5cce19f621
commit 8a6040c739

View File

@@ -331,12 +331,10 @@ void MaemoRunControl::handleRemoteOutput(const QString &output)
MaemoDebugRunControl::MaemoDebugRunControl(RunConfiguration *runConfiguration) MaemoDebugRunControl::MaemoDebugRunControl(RunConfiguration *runConfiguration)
: AbstractMaemoRunControl(runConfiguration) : AbstractMaemoRunControl(runConfiguration)
, debuggerManager(0) , debuggerManager(ExtensionSystem::PluginManager::instance()
->getObject<Debugger::DebuggerManager>())
, startParams(new Debugger::DebuggerStartParameters) , startParams(new Debugger::DebuggerStartParameters)
{ {
debuggerManager = ExtensionSystem::PluginManager::instance()
->getObject<Debugger::DebuggerManager>();
QTC_ASSERT(debuggerManager != 0, return); QTC_ASSERT(debuggerManager != 0, return);
startParams->startMode = Debugger::StartRemote; startParams->startMode = Debugger::StartRemote;
startParams->executable = executableOnHost(); startParams->executable = executableOnHost();