forked from qt-creator/qt-creator
Maemo: Remove double initialization of debugger manager.
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user