summaryrefslogtreecommitdiff
path: root/src/plugins/debugger/qml/qmlcppengine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/debugger/qml/qmlcppengine.cpp')
-rw-r--r--src/plugins/debugger/qml/qmlcppengine.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/plugins/debugger/qml/qmlcppengine.cpp b/src/plugins/debugger/qml/qmlcppengine.cpp
index f1e789d55c..f1eb0ed519 100644
--- a/src/plugins/debugger/qml/qmlcppengine.cpp
+++ b/src/plugins/debugger/qml/qmlcppengine.cpp
@@ -34,6 +34,7 @@
#include "stackhandler.h"
#include "qmlengine.h"
#include "watchdata.h"
+#include "watchhandler.h"
#include <coreplugin/icore.h>
#include <utils/qtcassert.h>
@@ -135,6 +136,13 @@ void QmlCppEngine::updateWatchData(const WatchData &data,
d->m_activeEngine->updateWatchData(data, flags);
}
+void QmlCppEngine::watchDataSelected(const QByteArray &iname)
+{
+ const WatchData *wd = watchHandler()->findData(iname);
+ if (wd && wd->isInspect())
+ d->m_qmlEngine->watchDataSelected(iname);
+}
+
void QmlCppEngine::watchPoint(const QPoint &point)
{
d->m_cppEngine->watchPoint(point);