2010-08-18 19:29:24 +00:00
|
|
|
---
|
|
|
|
src/corelib/animation/qvariantanimation.h | 1 +
|
|
|
|
1 file changed, 1 insertion(+)
|
|
|
|
|
|
|
|
--- qt-everywhere-opensource-src-4.7.0-beta2.orig/src/corelib/animation/qvariantanimation.h
|
|
|
|
+++ qt-everywhere-opensource-src-4.7.0-beta2/src/corelib/animation/qvariantanimation.h
|
|
|
|
@@ -117,6 +117,7 @@ private:
|
|
|
|
};
|
|
|
|
|
|
|
|
template <typename T>
|
2010-08-20 17:34:32 +00:00
|
|
|
+static inline __attribute__((__always_inline__))
|
2010-08-18 19:29:24 +00:00
|
|
|
void qRegisterAnimationInterpolator(QVariant (*func)(const T &from, const T &to, qreal progress)) {
|
|
|
|
QVariantAnimation::registerInterpolator(reinterpret_cast<QVariantAnimation::Interpolator>(func), qMetaTypeId<T>());
|
|
|
|
}
|