Go to file
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
bin Fixed qtmodule-configtests on Windows. 2012-01-23 11:02:18 +01:00
config.tests Update contact information in license headers. 2012-01-23 04:04:33 +01:00
dist Obsolete QInputDialog::getInteger() 'officially'. 2012-01-22 22:10:02 +01:00
doc/src Update contact information in license headers. 2012-01-23 04:04:33 +01:00
examples Update obsolete contact address. 2012-01-23 04:04:33 +01:00
lib Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
mkspecs Update contact information in license headers. 2012-01-23 04:04:33 +01:00
qmake Update contact information in license headers. 2012-01-23 04:04:33 +01:00
src QPropertyAnimation::setTargetObject() fails if new and old target object have the same address 2012-01-23 13:06:12 +01:00
tests Expect tst_QWizard::setPixmap() failure on Mac OS X 2012-01-23 09:34:16 +01:00
tools Update contact information in license headers. 2012-01-23 04:04:33 +01:00
util Update contact information in license headers. 2012-01-23 04:04:33 +01:00
.gitattributes Added .tag file with Git revision. 2011-05-03 16:23:49 +02:00
.gitignore Remove references to openvgversion.h 2012-01-14 14:48:16 +01:00
.tag Added .tag file with Git revision. 2011-05-03 16:23:49 +02:00
configure Update contact information in license headers. 2012-01-23 04:04:33 +01:00
configure.exe Add a new QT_NO_SSL feature macro. 2012-01-06 11:19:23 +01:00
header.BSD Update contact information in license headers. 2012-01-23 04:04:33 +01:00
header.FDL Update contact information in license headers. 2012-01-23 04:04:33 +01:00
header.LGPL Update contact information in license headers. 2012-01-23 04:04:33 +01:00
header.LGPL-ONLY Update obsolete contact address. 2012-01-23 04:04:33 +01:00
INSTALL Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
LGPL_EXCEPTION.txt Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
LICENSE.FDL Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
LICENSE.LGPL Update contact information in license headers. 2012-01-23 04:04:33 +01:00
LICENSE.PREVIEW.COMMERCIAL Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
qtbase.pro Ensure qmodule.pri is installed. 2011-11-23 00:12:03 +01:00
sync.profile Remove references to openvgversion.h 2012-01-14 14:48:16 +01:00