diff options
author | Thomas Hartmann <thomas.hartmann@qt.io> | 2019-08-28 12:03:12 +0200 |
---|---|---|
committer | Thomas Hartmann <thomas.hartmann@qt.io> | 2019-08-28 14:02:14 +0000 |
commit | c61702fca43bf8cdb53d1d87d785e4a0992cbd28 (patch) | |
tree | 5f9f9741c0b800ec45bc12da4f67983c1b6a94c6 /src/plugins/ctfvisualizer/ctfvisualizerplugin.cpp | |
parent | 217f0c0305ed57041d3375a5bb08ec6a255e0b89 (diff) | |
download | qt-creator-c61702fca43bf8cdb53d1d87d785e4a0992cbd28.tar.gz |
QmlDesigner: Fix potential crash
The new selected ModelNode (m_selectedNode) was set to early, since
we defer the creation of the QML frontend.
We have to set m_selectedNode when the QML frontend is actually created.
Otherwise, we might access an uninitialized QML frontend.
Change-Id: I630b103246c414c737c977e233180723df0c3160
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Diffstat (limited to 'src/plugins/ctfvisualizer/ctfvisualizerplugin.cpp')
0 files changed, 0 insertions, 0 deletions