forked from qt-creator/qt-creator
Debugger: Remove some unneeded calls to resetLocation()
Since resetLocation() is called when the repective actions are triggered immediately before the engine's executeFoo() are called there is no need to call them in executeFoo() again. Also, remove the unused autoContinueInferior(); function. Change-Id: I8d2ec419c0da6efa388ce1ed317f31d24654897f Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
This commit is contained in:
@@ -719,7 +719,6 @@ void QmlEngine::executeRunToLine(const ContextData &data)
|
||||
{
|
||||
QTC_ASSERT(state() == InferiorStopOk, qDebug() << state());
|
||||
showStatusMessage(tr("Run to line %1 (%2) requested...").arg(data.lineNumber).arg(data.fileName), 5000);
|
||||
resetLocation();
|
||||
ContextData modifiedData = data;
|
||||
quint32 line = data.lineNumber;
|
||||
quint32 column;
|
||||
|
||||
Reference in New Issue
Block a user