aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qmltooling
diff options
context:
space:
mode:
authorFabian Kosmale <fabian.kosmale@qt.io>2019-10-04 16:20:29 +0200
committerFabian Kosmale <fabian.kosmale@qt.io>2019-10-07 08:06:32 +0200
commit2b371a50cbc1f54284fcea3834834ca58fc28fd0 (patch)
tree156ec5ad28cbf98fac083a870e79daf0ebb49bf3 /src/plugins/qmltooling
parent138f09bd63b8070686ed8a282375dbcf3ce7674f (diff)
qmlRegisterSingletonInstance: Do not crash if instance gets deleted
Use a QPointer, so that we notice if the object has been deleted. Also ensure that in the documentation the function is in a single line, as qdoc will otherwise silently omit it. Change-Id: Idecd370d00089997cd18b3247ad2290a561b2b69 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io> Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/plugins/qmltooling')
0 files changed, 0 insertions, 0 deletions