forked from qt-creator/qt-creator
Maemo: Get rid of MaemoDebugRunControl.
Use Debugger::DebuggerRunControl directly instead of wrapping it into another RunControl. Reviewed-by: hjk
This commit is contained in:
@@ -35,6 +35,7 @@
|
||||
#include "maemorunfactories.h"
|
||||
|
||||
#include "maemoconstants.h"
|
||||
#include "maemodebugsupport.h"
|
||||
#include "maemorunconfiguration.h"
|
||||
#include "maemoruncontrol.h"
|
||||
|
||||
@@ -171,7 +172,7 @@ RunControl* MaemoRunControlFactory::create(RunConfiguration *runConfig,
|
||||
|| mode == ProjectExplorer::Constants::DEBUGMODE);
|
||||
if (mode == ProjectExplorer::Constants::RUNMODE)
|
||||
return new MaemoRunControl(rc);
|
||||
return new MaemoDebugRunControl(rc);
|
||||
return MaemoDebugSupport::createDebugRunControl(rc);
|
||||
}
|
||||
|
||||
QString MaemoRunControlFactory::displayName() const
|
||||
|
||||
Reference in New Issue
Block a user