summaryrefslogtreecommitdiffstats
path: root/src/declarative/debugger/qmldebug_p.h
diff options
context:
space:
mode:
authorBea Lam <bea.lam@nokia.com>2009-11-08 22:55:59 (GMT)
committerBea Lam <bea.lam@nokia.com>2009-11-08 22:55:59 (GMT)
commit2fb5889ea55209528fd19b7a34faac7c5be2b1b4 (patch)
tree9d17ae663848ccb5bb64c51b2e9ef8d50aea82d1 /src/declarative/debugger/qmldebug_p.h
parentc4bc9a635bf0fd42e80e570909e204ae24b303b2 (diff)
downloadQt-2fb5889ea55209528fd19b7a34faac7c5be2b1b4.zip
Qt-2fb5889ea55209528fd19b7a34faac7c5be2b1b4.tar.gz
Qt-2fb5889ea55209528fd19b7a34faac7c5be2b1b4.tar.bz2
Fix crash when watch is deleted before calling removeWatch().
Diffstat (limited to 'src/declarative/debugger/qmldebug_p.h')
-rw-r--r--src/declarative/debugger/qmldebug_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/declarative/debugger/qmldebug_p.h b/src/declarative/debugger/qmldebug_p.h
index d7e4f5a..4bc54e8 100644
--- a/src/declarative/debugger/qmldebug_p.h
+++ b/src/declarative/debugger/qmldebug_p.h
@@ -106,6 +106,7 @@ public:
enum State { Waiting, Active, Inactive, Dead };
QmlDebugWatch(QObject *);
+ ~QmlDebugWatch();
int queryId() const;
int objectDebugId() const;
@@ -125,6 +126,7 @@ private:
void setState(State);
State m_state;
int m_queryId;
+ QmlEngineDebug *m_client;
int m_objectDebugId;
};