qt6-bb10/src/corelib
Armin Berres d0cb57a4e7 QPropertyAnimation::setTargetObject() fails if new and old target object have the same address
If a target object is destroyed QPropertyAnimationPrivate::targetValue
reflects this while QPropertyAnimationPrivate::target stays unchanged.
QPropertyAnimation::setTargetObject() checks if a new target matches
QPropertyAnimationPrivate::target - to bad if the former target has
been destroyed in the meanwhile but the new one has the same memory
address. targetValue is not updated in this case. It will still point
to null and QPropertyAnimation::targetObject() returns 0.
This is not just a theoretical problem - we stubled upon this in
Harmattan when suddenly animations complained that they are having no
target.

Change-Id: Ib4a9c234d04d6f8a3f7aed251d5e79471d95168a
Reviewed-by: Leonardo Sobral Cunha <leo.cunha@nokia.com>
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
2012-01-23 13:06:12 +01:00
..
animation QPropertyAnimation::setTargetObject() fails if new and old target object have the same address 2012-01-23 13:06:12 +01:00
arch Update contact information in license headers. 2012-01-23 04:04:33 +01:00
codecs Update contact information in license headers. 2012-01-23 04:04:33 +01:00
concurrent Update contact information in license headers. 2012-01-23 04:04:33 +01:00
global Update obsolete contact address. 2012-01-23 04:04:33 +01:00
io Remove uses of qMalloc/qFree from out of line code. 2012-01-23 12:49:55 +01:00
itemmodels Update contact information in license headers. 2012-01-23 04:04:33 +01:00
kernel Update contact information in license headers. 2012-01-23 04:04:33 +01:00
plugin Update contact information in license headers. 2012-01-23 04:04:33 +01:00
statemachine Update contact information in license headers. 2012-01-23 04:04:33 +01:00
thread Update contact information in license headers. 2012-01-23 04:04:33 +01:00
tools Update contact information in license headers. 2012-01-23 04:04:33 +01:00
xml Update contact information in license headers. 2012-01-23 04:04:33 +01:00
Qt5CoreConfigExtras.cmake.in Remove plugin related variables from the CMake files. 2011-12-19 10:42:02 +01:00
Qt5CoreMacros.cmake Convert macros to functions. 2011-12-21 19:58:14 +01:00
QtCore.dynlist Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
corelib.pro Move QAbstractItemModel into a separate directory. 2011-12-13 02:23:42 +01:00
eval.pri Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00