summaryrefslogtreecommitdiffstats
path: root/src/declarative/debugger
diff options
context:
space:
mode:
authorBea Lam <bea.lam@nokia.com>2009-09-23 07:29:13 (GMT)
committerBea Lam <bea.lam@nokia.com>2009-09-23 07:29:13 (GMT)
commit857f3f1466cb4ba57eca2d39d5515e2655a8c617 (patch)
tree01d3494a84d069483a3f3630e9436dd519017749 /src/declarative/debugger
parent1289b9468b5895279c82703c1dd6dea080c8a0ca (diff)
downloadQt-857f3f1466cb4ba57eca2d39d5515e2655a8c617.zip
Qt-857f3f1466cb4ba57eca2d39d5515e2655a8c617.tar.gz
Qt-857f3f1466cb4ba57eca2d39d5515e2655a8c617.tar.bz2
Allow watching of properties to be stopped from watch table. Also fix
bug where watch removal requests were not sent to the server side.
Diffstat (limited to 'src/declarative/debugger')
-rw-r--r--src/declarative/debugger/qmldebug.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/declarative/debugger/qmldebug.cpp b/src/declarative/debugger/qmldebug.cpp
index 7483fe2..de97cda 100644
--- a/src/declarative/debugger/qmldebug.cpp
+++ b/src/declarative/debugger/qmldebug.cpp
@@ -270,6 +270,7 @@ QmlDebugPropertyWatch *QmlEngineDebug::addWatch(const QmlDebugPropertyReference
int queryId = d->getId();
watch->m_queryId = queryId;
watch->m_objectDebugId = property.objectDebugId();
+ watch->m_name = property.name();
d->watched.insert(queryId, watch);
QByteArray message;
@@ -297,6 +298,7 @@ QmlDebugObjectExpressionWatch *QmlEngineDebug::addWatch(const QmlDebugObjectRefe
int queryId = d->getId();
watch->m_queryId = queryId;
watch->m_objectDebugId = object.debugId();
+ watch->m_expr = expr;
d->watched.insert(queryId, watch);
QByteArray message;