forked from qt-creator/qt-creator
Debugger: Simplify *SlaveEngineType StartParameters members
The secondSlaveEngineType was not really used, and the first either NoEngineType or identical to the cppEngineType. Change-Id: I1725728ca38636f228ff9b9d8ca7d643a34c64e8 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
@@ -74,7 +74,7 @@ QmlCppEngine::QmlCppEngine(const DebuggerStartParameters &sp, QString *errorMess
|
||||
{
|
||||
setObjectName(QLatin1String("QmlCppEngine"));
|
||||
m_qmlEngine = new QmlEngine(sp, this);
|
||||
m_cppEngine = DebuggerRunControlFactory::createEngine(sp.firstSlaveEngineType, sp, errorMessage);
|
||||
m_cppEngine = DebuggerRunControlFactory::createEngine(sp.cppEngineType, sp, errorMessage);
|
||||
if (!m_cppEngine) {
|
||||
*errorMessage = tr("The slave debugging engine required for combined QML/C++-Debugging could not be created: %1").arg(*errorMessage);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user