summaryrefslogtreecommitdiff
path: root/doc/src/snippets/code/doc_src_qtscripttools.cpp
diff options
context:
space:
mode:
authorNicolas Tisserand <nt@manctl.com>2012-12-05 02:12:50 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-01-08 05:59:17 +0100
commitf643b31728d82f42838b24b43ccb241d35d76e81 (patch)
tree39f65403d4d7eee4cd592a4d08bc43cb037c8091 /doc/src/snippets/code/doc_src_qtscripttools.cpp
parent31a4594a554fd98b18d61a023f6bb584a7fe506d (diff)
downloadqt4-tools-f643b31728d82f42838b24b43ccb241d35d76e81.tar.gz
Fix crash when mapping coordinates to & from the root item.
The crash triggered by our (supported & documented) use-cases (calling map{From,To}Item with a null value), has been introduced earlier this year, by this change: https://qt.gitorious.org/qt/qt/commit/bec02b3f3 Also: * Clarify QDeclarativeItem::map{From,To}Item statement ordering. * Handle the engine-less item corner case. This change is a backport from the following commit in qtquick1: cae858768f7d16b79f3627cd5b077da89dc0c7c9 Change-Id: I6d387fb02ca65ab40365edda26a0ea60ff14446c Reviewed-by: Martin Jones <martin.jones@jollamobile.com>
Diffstat (limited to 'doc/src/snippets/code/doc_src_qtscripttools.cpp')
0 files changed, 0 insertions, 0 deletions