summaryrefslogtreecommitdiffstats
path: root/src/declarative/util/qmlanimation.cpp
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2009-08-25 23:19:56 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2009-08-25 23:19:56 (GMT)
commitb848c25000a3496dd1a3c4ffeb04786775cd4b50 (patch)
treee10f1cc2f5e04b19681f7f5917313cca45a7e4bd /src/declarative/util/qmlanimation.cpp
parent2507dce1477e6d302838c546cfc1cf8cddd0b446 (diff)
downloadQt-b848c25000a3496dd1a3c4ffeb04786775cd4b50.zip
Qt-b848c25000a3496dd1a3c4ffeb04786775cd4b50.tar.gz
Qt-b848c25000a3496dd1a3c4ffeb04786775cd4b50.tar.bz2
Fix compile after merge from 4.6.
Diffstat (limited to 'src/declarative/util/qmlanimation.cpp')
-rw-r--r--src/declarative/util/qmlanimation.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/declarative/util/qmlanimation.cpp b/src/declarative/util/qmlanimation.cpp
index 720a045..89b5660 100644
--- a/src/declarative/util/qmlanimation.cpp
+++ b/src/declarative/util/qmlanimation.cpp
@@ -407,12 +407,12 @@ void QmlAbstractAnimation::setGroup(QmlAnimationGroup *g)
if (d->group == g)
return;
if (d->group)
- static_cast<QmlAnimationGroupPrivate *>(d->group->d_ptr)->animations.removeAll(this);
+ static_cast<QmlAnimationGroupPrivate *>(d->group->d_func())->animations.removeAll(this);
d->group = g;
- if (d->group && !static_cast<QmlAnimationGroupPrivate *>(d->group->d_ptr)->animations.contains(this))
- static_cast<QmlAnimationGroupPrivate *>(d->group->d_ptr)->animations.append(this);
+ if (d->group && !static_cast<QmlAnimationGroupPrivate *>(d->group->d_func())->animations.contains(this))
+ static_cast<QmlAnimationGroupPrivate *>(d->group->d_func())->animations.append(this);
if (d->group)
((QAnimationGroup*)d->group->qtAnimation())->addAnimation(qtAnimation());