diff options
author | Alexis Menard <alexis.menard@nokia.com> | 2009-05-22 14:40:58 (GMT) |
---|---|---|
committer | Alexis Menard <alexis.menard@nokia.com> | 2009-05-22 14:41:28 (GMT) |
commit | c6d683eefc76b6bb5be465533c5fead97fedcdc4 (patch) | |
tree | abc03df031f8c909d051428161448a8071d682d8 /src/corelib/animation/qvariantanimation.h | |
parent | 1602820bb4d2b13f843594194ace2186f4f72806 (diff) | |
download | Qt-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.h | 2 |
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>()); } |