summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2010-02-19 05:48:58 (GMT)
committerMartin Jones <martin.jones@nokia.com>2010-02-19 05:48:58 (GMT)
commit5d577b82f93a10918db319eac9d206dd9fe96e2c (patch)
tree2cefeaecc62a2369f3523eee4cca8868da081265 /src
parent19e4d8f19e90841689dbc5dd5d13ad730c1f936d (diff)
parent91e69bbc1f390e4da209281d44f734b3d63e8e0f (diff)
downloadQt-5d577b82f93a10918db319eac9d206dd9fe96e2c.zip
Qt-5d577b82f93a10918db319eac9d206dd9fe96e2c.tar.gz
Qt-5d577b82f93a10918db319eac9d206dd9fe96e2c.tar.bz2
Merge branch 'master' of scm.dev.nokia.troll.no:qt/qt-qml
Diffstat (limited to 'src')
-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;