diff options
author | Martin Jones <martin.jones@nokia.com> | 2012-06-27 10:02:03 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-06-27 04:24:18 +0200 |
commit | 46a58d283fb2bba254bab3c2a9859b55b3649c30 (patch) | |
tree | e12f8f229478453360e186d04bfce6426cef3e56 /tests | |
parent | 5a8f7939f536096a3f512c8b1537e6bbe5f0269c (diff) |
Item.mapFromItem() crashes with Items not created by the engine.
Item.mapFromItem() and Item.mapToItem() get the script engine from
the item they are called on. Safer to use the script value passed
to the function to determine the engine being used.
Task-number: QTBUG-26280
Change-Id: Id72afd723b21ed0f1a747e2d802d6f9715f6c093
Reviewed-by: Andrew den Exter <andrew.den-exter@nokia.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions