diff options
| author | hjk <hjk@theqtcompany.com> | 2015-07-16 13:45:43 +0200 |
|---|---|---|
| committer | hjk <hjk@theqtcompany.com> | 2015-07-16 11:55:31 +0000 |
| commit | 3f084fa026a8a402583a91ef7882d49a24629542 (patch) | |
| tree | 4c9ea392ce0c65e78fc0c1ef2f8e273de7233cdc /src/plugins/debugger/qml/qmlcppengine.cpp | |
| parent | c81407f28db0df84906984dd6a4e5d665df6070c (diff) | |
| download | qt-creator-3f084fa026a8a402583a91ef7882d49a24629542.tar.gz | |
Debugger: Split update/expand paths also in mixed engine
Change-Id: Ic341e4a3e974cfde3fbf4afd8cef41080b922067
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
Diffstat (limited to 'src/plugins/debugger/qml/qmlcppengine.cpp')
| -rw-r--r-- | src/plugins/debugger/qml/qmlcppengine.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/plugins/debugger/qml/qmlcppengine.cpp b/src/plugins/debugger/qml/qmlcppengine.cpp index 7248d7846c..a427700512 100644 --- a/src/plugins/debugger/qml/qmlcppengine.cpp +++ b/src/plugins/debugger/qml/qmlcppengine.cpp @@ -122,6 +122,14 @@ void QmlCppEngine::updateItem(const QByteArray &iname) m_activeEngine->updateItem(iname); } +void QmlCppEngine::expandItem(const QByteArray &iname) +{ + if (iname.startsWith("inspect.")) + m_qmlEngine->expandItem(iname); + else + m_activeEngine->expandItem(iname); +} + void QmlCppEngine::selectWatchData(const QByteArray &iname) { if (iname.startsWith("inspect.")) |
