aboutsummaryrefslogtreecommitdiffstats
path: root/src/qmldebug/qqmlenginedebugclient_p_p.h
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2019-10-09 15:49:52 +0200
committerUlf Hermann <ulf.hermann@qt.io>2019-10-09 15:59:18 +0200
commit0a0d9690a90340c4bd6d9503dc78abee70ea4739 (patch)
tree0995f9514591cb4c63956013e0499d8199f5e439 /src/qmldebug/qqmlenginedebugclient_p_p.h
parent2b845c91756bcd0f5763752eccc254ca2b4a2cc0 (diff)
Consistently use qint32 as IDs and counts in engine debugger
We should not sent unsigned numbers and read them as signed ones. The invalid ID is -1, and it's good style to use types of fixed size for the debug protocol. Fixes: QTBUG-79114 Change-Id: Ib6754ad893cc01d3fe7aa7f76fbd732df36d969a Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/qmldebug/qqmlenginedebugclient_p_p.h')
-rw-r--r--src/qmldebug/qqmlenginedebugclient_p_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qmldebug/qqmlenginedebugclient_p_p.h b/src/qmldebug/qqmlenginedebugclient_p_p.h
index 7c992ad3ab..b73da15e9d 100644
--- a/src/qmldebug/qqmlenginedebugclient_p_p.h
+++ b/src/qmldebug/qqmlenginedebugclient_p_p.h
@@ -62,7 +62,7 @@ class QQmlEngineDebugClientPrivate : public QQmlDebugClientPrivate
public:
QQmlEngineDebugClientPrivate(QQmlDebugConnection *connection);
- quint32 nextId = 0;
+ qint32 nextId = 0;
bool valid = false;
QList<QQmlEngineDebugEngineReference> engines;
QQmlEngineDebugContextReference rootContext;