diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2017-09-07 15:17:15 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2017-09-07 13:28:52 +0000 |
commit | 1634987caefd36303c048a271ae67ca6b927a001 (patch) | |
tree | a7a0ad51991973f54d9cf3ff32f1d19f3ff625cb /src/plugins/cpptools/cpptoolsplugin.cpp | |
parent | 239ed56f4b719179278b1983e635f8ccc32f2eb9 (diff) | |
download | qt-creator-1634987caefd36303c048a271ae67ca6b927a001.tar.gz |
QmlDebug: Don't use QmlDebugConnection unconditionally
It might be null. We wrap the retrieval of the data stream version in
QmlDebugClient and return the minimum if connection is null. The extra
copy of the connection QmlEngine is dropped as QmlDebugClient already
has one and we don't want to hit a dangling pointer.
Change-Id: Ida8c45d357d46b4942eea99b77065d3c51c7edb9
Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/cpptools/cpptoolsplugin.cpp')
0 files changed, 0 insertions, 0 deletions