diff --git a/src/plugins/debugger/qml/qmlcppengine.cpp b/src/plugins/debugger/qml/qmlcppengine.cpp index e3ebb7eab2d8169155532f5a2c708f1577624b20..91fac94d406792609ea87b1ff34f9e8c56984a0e 100644 --- a/src/plugins/debugger/qml/qmlcppengine.cpp +++ b/src/plugins/debugger/qml/qmlcppengine.cpp @@ -171,6 +171,7 @@ void QmlCppEngine::activateFrame(int index) d->m_qmlEngine->activateFrame(index - d->m_stackBoundary); else d->m_cppEngine->activateFrame(index); + stackHandler()->setCurrentIndex(index); } void QmlCppEngine::reloadModules() @@ -369,16 +370,6 @@ void QmlCppEngine::executeDebuggerCommand(const QString &command) d->m_cppEngine->executeDebuggerCommand(command); } -void QmlCppEngine::frameUp() -{ - d->m_activeEngine->frameUp(); -} - -void QmlCppEngine::frameDown() -{ - d->m_activeEngine->frameDown(); -} - ///////////////////////////////////////////////////////// void QmlCppEngine::setupEngine() diff --git a/src/plugins/debugger/qml/qmlcppengine.h b/src/plugins/debugger/qml/qmlcppengine.h index a3e652edf94053540282c8bdb52872fe723865f7..20fb497f0533edd7565eac30ef226d7efadb48dc 100644 --- a/src/plugins/debugger/qml/qmlcppengine.h +++ b/src/plugins/debugger/qml/qmlcppengine.h @@ -75,9 +75,6 @@ protected: void executeJumpToLine(const QString &fileName, int lineNumber); void executeDebuggerCommand(const QString &command); - void frameUp(); - void frameDown(); - void setupEngine(); void setupInferior(); void runEngine();