diff options
author | Martin Jones <martin.jones@nokia.com> | 2012-06-26 06:24:50 (GMT) |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-06-26 09:37:10 (GMT) |
commit | bec02b3f36b7e266b00bb143c459cacabda69b69 (patch) | |
tree | ffe18f8be27cfbd4d2856783308eaa6b151a527f /src/plugins/platforms | |
parent | 453e6e134510bdae8fe68519a4d42120ae21a53b (diff) | |
download | Qt-bec02b3f36b7e266b00bb143c459cacabda69b69.zip Qt-bec02b3f36b7e266b00bb143c459cacabda69b69.tar.gz Qt-bec02b3f36b7e266b00bb143c459cacabda69b69.tar.bz2 |
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: Id9d6c952cc91c7799910b29a27e24945d8ba073b
Reviewed-by: Andrew den Exter <andrew.den-exter@nokia.com>
Diffstat (limited to 'src/plugins/platforms')
0 files changed, 0 insertions, 0 deletions