Don't keep a cache of created QSGDragAttached objects.
authorAndrew den Exter <andrew.den-exter@nokia.com>
Tue, 11 Oct 2011 03:09:42 +0000 (13:09 +1000)
committerQt by Nokia <qt-info@nokia.com>
Mon, 17 Oct 2011 23:47:23 +0000 (01:47 +0200)
commit8ff1f926ea1d18b226060b4ea1bf6924eceba8c6
tree702dfbdbd41a94469d778411ad263f73d4f18612
parentbca5c6d21711d5844c435bd41a71f8fe356a1038
Don't keep a cache of created QSGDragAttached objects.

It's unnecessary and can potentially return stale objects.

Change-Id: Ia04b9a58757ef06d3178e6a64e168f68abc1c9d8
Reviewed-by: Martin Jones <martin.jones@nokia.com>
src/declarative/items/qsgdrag.cpp
src/declarative/items/qsgdrag_p.h
src/declarative/items/qsgmousearea.cpp
tests/auto/declarative/qsgdrag/tst_qsgdrag.cpp
tests/auto/declarative/qsgdroparea/tst_qsgdroparea.cpp