Fix extra hover enter events being sent by QSGCanvas
authorCaio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
Mon, 29 Aug 2011 13:08:45 +0000 (10:08 -0300)
committerQt by Nokia <qt-info@nokia.com>
Wed, 31 Aug 2011 01:23:03 +0000 (03:23 +0200)
commitede31210aafbfb961059a6e0934d6e6a79e06447
tree6243931a2f63ce775b280e591cd714b823477230
parentacf715c4e59a5ec1b4332522bf285ebeebfc7e5c
Fix extra hover enter events being sent by QSGCanvas

This fixes two issues: when one item is entered it is getting the
enter event twice. When we are moving from two items that share the
same parent, the parent is getting enter event -- which shouldn't
happen.

Change-Id: If0fe6d64d1f7cfb8679ce11edda7c02dc3783f9a
Reviewed-on: http://codereview.qt.nokia.com/3860
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
src/declarative/items/qsgcanvas.cpp
tests/auto/declarative/qsgitem/tst_qsgitem.cpp