aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/animations
diff options
context:
space:
mode:
authorSamuel Rødal <samuel.rodal@digia.com>2012-09-23 19:21:03 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-09-24 11:57:16 +0200
commit2cfcd6e3f52f2eb949f11a8416131519c1bd6d8e (patch)
tree9ba72c7b934afda6e4f068dcc3b684c08fc21eeb /src/qml/animations
parent16986c733e0cd1109a4e42cecd968bae37422f25 (diff)
Fixed missing virtual destructors in qtdeclarative.
Change-Id: I0b0e63b572617a56874e27361479de2690644aa3 Reviewed-by: Marc Mutz <marc.mutz@kdab.com> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/qml/animations')
-rw-r--r--src/qml/animations/qabstractanimationjob.cpp4
-rw-r--r--src/qml/animations/qabstractanimationjob_p.h3
2 files changed, 6 insertions, 1 deletions
diff --git a/src/qml/animations/qabstractanimationjob.cpp b/src/qml/animations/qabstractanimationjob.cpp
index a12ab39267..20b8b4bf57 100644
--- a/src/qml/animations/qabstractanimationjob.cpp
+++ b/src/qml/animations/qabstractanimationjob.cpp
@@ -53,6 +53,10 @@ QT_BEGIN_NAMESPACE
Q_GLOBAL_STATIC(QThreadStorage<QQmlAnimationTimer *>, animationTimer)
#endif
+QAnimationJobChangeListener::~QAnimationJobChangeListener()
+{
+}
+
QQmlAnimationTimer::QQmlAnimationTimer() :
QAbstractAnimationTimer(), lastTick(0), lastDelta(0),
currentAnimationIdx(0), insideTick(false),
diff --git a/src/qml/animations/qabstractanimationjob_p.h b/src/qml/animations/qabstractanimationjob_p.h
index 1e932aeae7..12582a2986 100644
--- a/src/qml/animations/qabstractanimationjob_p.h
+++ b/src/qml/animations/qabstractanimationjob_p.h
@@ -166,9 +166,10 @@ protected:
friend class QAnimationGroupJob;
};
-class Q_AUTOTEST_EXPORT QAnimationJobChangeListener
+class Q_QML_PRIVATE_EXPORT QAnimationJobChangeListener
{
public:
+ virtual ~QAnimationJobChangeListener();
virtual void animationFinished(QAbstractAnimationJob *) {}
virtual void animationStateChanged(QAbstractAnimationJob *, QAbstractAnimationJob::State, QAbstractAnimationJob::State) {}
virtual void animationCurrentLoopChanged(QAbstractAnimationJob *) {}