diff options
author | jasplin <qt-info@nokia.com> | 2009-06-04 08:54:26 (GMT) |
---|---|---|
committer | jasplin <qt-info@nokia.com> | 2009-06-04 08:54:26 (GMT) |
commit | d5231e0593dcbf226e0ca3d679c2547e8e1c9697 (patch) | |
tree | 2014536e5b26a2c97fdba400e581a7b164f637d2 /src/gui | |
parent | 470716d0d0e06e4032f469f7c4c629a3d2a3b133 (diff) | |
download | Qt-d5231e0593dcbf226e0ca3d679c2547e8e1c9697.zip Qt-d5231e0593dcbf226e0ca3d679c2547e8e1c9697.tar.gz Qt-d5231e0593dcbf226e0ca3d679c2547e8e1c9697.tar.bz2 |
Fixed build error with Sun CC 5.5.
Reviewed-by: tbastian
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/animation/qguivariantanimation.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/animation/qguivariantanimation.cpp b/src/gui/animation/qguivariantanimation.cpp index 37ca6a1..75532f6 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) |