forked from qt-creator/qt-creator
Debugger: Simplify handling of requestRemoteSetup in QmlCppEngine
Just emit the requestRemoteSetup on your own in QmlCppEngine. Also properly check the related state transitions in DebuggerEngine. Change-Id: I15dc4236303911126de7eee63ed996bdd8e5c5a8 Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -96,7 +96,7 @@ void RemoteGdbServerAdapter::startAdapter()
|
||||
}
|
||||
}
|
||||
if (startParameters().requestRemoteSetup)
|
||||
m_engine->requestRemoteSetup();
|
||||
m_engine->notifyEngineRequestRemoteSetup();
|
||||
else
|
||||
handleSetupDone();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user