summaryrefslogtreecommitdiffstats
path: root/src/gui/animation
diff options
context:
space:
mode:
authorjasplin <qt-info@nokia.com>2009-06-04 10:54:26 +0200
committerjasplin <qt-info@nokia.com>2009-06-04 10:54:26 +0200
commitd5231e0593dcbf226e0ca3d679c2547e8e1c9697 (patch)
tree2014536e5b26a2c97fdba400e581a7b164f637d2 /src/gui/animation
parent470716d0d0e06e4032f469f7c4c629a3d2a3b133 (diff)
Fixed build error with Sun CC 5.5.
Reviewed-by: tbastian
Diffstat (limited to 'src/gui/animation')
-rw-r--r--src/gui/animation/qguivariantanimation.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/animation/qguivariantanimation.cpp b/src/gui/animation/qguivariantanimation.cpp
index 37ca6a1d6b..75532f6102 100644
--- a/src/gui/animation/qguivariantanimation.cpp
+++ b/src/gui/animation/qguivariantanimation.cpp
@@ -66,6 +66,9 @@ Q_CONSTRUCTOR_FUNCTION(qRegisterGuiGetInterpolator)
static int qUnregisterGuiGetInterpolator()
{
qRegisterAnimationInterpolator<QColor>(0);
+ qRegisterAnimationInterpolator<QColor>(
+ (QVariant (*)(const QColor &, const QColor &, qreal))0); // cast required by Sun CC 5.5
+
return 1;
}
Q_DESTRUCTOR_FUNCTION(qUnregisterGuiGetInterpolator)