summaryrefslogtreecommitdiffstats
path: root/src/declarative
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2010-02-19 05:52:04 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2010-02-19 05:52:04 (GMT)
commitb442982fed0f1c40eb936babbba197ce09e28c37 (patch)
tree5ad1db3245b83c4e57ce8bb0aa77da193be49b25 /src/declarative
parentb99363853e729df1705c636acf495b73ea9d7cfe (diff)
parent91e69bbc1f390e4da209281d44f734b3d63e8e0f (diff)
downloadQt-b442982fed0f1c40eb936babbba197ce09e28c37.zip
Qt-b442982fed0f1c40eb936babbba197ce09e28c37.tar.gz
Qt-b442982fed0f1c40eb936babbba197ce09e28c37.tar.bz2
Merge branch 'master' of scm.dev.nokia.troll.no:qt/qt-qml
Diffstat (limited to 'src/declarative')
-rw-r--r--src/declarative/graphicsitems/qmlgraphicsanimatedimage.cpp1
-rw-r--r--src/declarative/util/qmltimeline_p_p.h8
2 files changed, 1 insertions, 8 deletions
diff --git a/src/declarative/graphicsitems/qmlgraphicsanimatedimage.cpp b/src/declarative/graphicsitems/qmlgraphicsanimatedimage.cpp
index 3434635..697be15 100644
--- a/src/declarative/graphicsitems/qmlgraphicsanimatedimage.cpp
+++ b/src/declarative/graphicsitems/qmlgraphicsanimatedimage.cpp
@@ -295,6 +295,7 @@ void QmlGraphicsAnimatedImage::playingStatusChanged()
void QmlGraphicsAnimatedImage::componentComplete()
{
Q_D(QmlGraphicsAnimatedImage);
+ QmlGraphicsImage::componentComplete();
if (!d->reply) {
setCurrentFrame(d->preset_currentframe);
d->preset_currentframe = 0;
diff --git a/src/declarative/util/qmltimeline_p_p.h b/src/declarative/util/qmltimeline_p_p.h
index f335e7d..f271a3f 100644
--- a/src/declarative/util/qmltimeline_p_p.h
+++ b/src/declarative/util/qmltimeline_p_p.h
@@ -154,14 +154,6 @@ public:
QmlTimeLineEvent(const QmlTimeLineEvent &o);
template<class T, void (T::*method)()>
- QmlTimeLineEvent(QmlTimeLineObject *b, T *c)
- {
- d0 = &callFunc<T, method>;
- d1 = (void *)c;
- d2 = b;
- }
-
- template<class T, void (T::*method)()>
static QmlTimeLineEvent timeLineEvent(QmlTimeLineObject *b, T *c)
{
QmlTimeLineEvent rv;