summaryrefslogtreecommitdiffstats
path: root/src/corelib/animation/qvariantanimation.h
diff options
context:
space:
mode:
authorAlexis Menard <alexis.menard@nokia.com>2009-05-22 14:40:58 (GMT)
committerAlexis Menard <alexis.menard@nokia.com>2009-05-22 14:41:28 (GMT)
commitc6d683eefc76b6bb5be465533c5fead97fedcdc4 (patch)
treeabc03df031f8c909d051428161448a8071d682d8 /src/corelib/animation/qvariantanimation.h
parent1602820bb4d2b13f843594194ace2186f4f72806 (diff)
downloadQt-c6d683eefc76b6bb5be465533c5fead97fedcdc4.zip
Qt-c6d683eefc76b6bb5be465533c5fead97fedcdc4.tar.gz
Qt-c6d683eefc76b6bb5be465533c5fead97fedcdc4.tar.bz2
Fix compilation on Solaris for animation API.
Reviewed-by: thierry
Diffstat (limited to 'src/corelib/animation/qvariantanimation.h')
-rw-r--r--src/corelib/animation/qvariantanimation.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/animation/qvariantanimation.h b/src/corelib/animation/qvariantanimation.h
index 5b90930..3ae172f 100644
--- a/src/corelib/animation/qvariantanimation.h
+++ b/src/corelib/animation/qvariantanimation.h
@@ -117,7 +117,7 @@ private:
};
template <typename T>
-static void qRegisterAnimationInterpolator(QVariant (*func)(const T &from, const T &to, qreal progress)) {
+void qRegisterAnimationInterpolator(QVariant (*func)(const T &from, const T &to, qreal progress)) {
QVariantAnimation::registerInterpolator(reinterpret_cast<QVariantAnimation::Interpolator>(func), qMetaTypeId<T>());
}