From c6d683eefc76b6bb5be465533c5fead97fedcdc4 Mon Sep 17 00:00:00 2001 From: Alexis Menard Date: Fri, 22 May 2009 16:40:58 +0200 Subject: Fix compilation on Solaris for animation API. Reviewed-by: thierry --- src/corelib/animation/qvariantanimation.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -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(func), qMetaTypeId()); } -- cgit v0.12