summaryrefslogtreecommitdiff
path: root/src/plugins/ctfvisualizer/ctfvisualizerplugin.cpp
diff options
context:
space:
mode:
authorThomas Hartmann <thomas.hartmann@qt.io>2019-08-28 12:03:12 +0200
committerThomas Hartmann <thomas.hartmann@qt.io>2019-08-28 14:02:14 +0000
commitc61702fca43bf8cdb53d1d87d785e4a0992cbd28 (patch)
tree5f9f9741c0b800ec45bc12da4f67983c1b6a94c6 /src/plugins/ctfvisualizer/ctfvisualizerplugin.cpp
parent217f0c0305ed57041d3375a5bb08ec6a255e0b89 (diff)
downloadqt-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