Add missing interpolator for unsigned int.
Note that there are also some missing interpolators for char, short, long long etc, but those are most likely less common than unsigned int. Task-number: QTBUG-33268 Change-Id: I469cc4f38eaa48171307b737b15efea2cd98fe5e Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
This commit is contained in:
parent
f079e9e77f
commit
09da1f7d1f
@ -101,6 +101,7 @@ QT_BEGIN_NAMESPACE
|
||||
|
||||
\list
|
||||
\li \l{QMetaType::}{Int}
|
||||
\li \l{QMetaType::}{UInt}
|
||||
\li \l{QMetaType::}{Double}
|
||||
\li \l{QMetaType::}{Float}
|
||||
\li \l{QMetaType::}{QLine}
|
||||
@ -470,6 +471,8 @@ QVariantAnimation::Interpolator QVariantAnimationPrivate::getInterpolator(int in
|
||||
{
|
||||
case QMetaType::Int:
|
||||
return castToInterpolator(_q_interpolateVariant<int>);
|
||||
case QMetaType::UInt:
|
||||
return castToInterpolator(_q_interpolateVariant<uint>);
|
||||
case QMetaType::Double:
|
||||
return castToInterpolator(_q_interpolateVariant<double>);
|
||||
case QMetaType::Float:
|
||||
|
Loading…
Reference in New Issue
Block a user