summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMartin Smith <martin.smith@qt.io>2018-01-02 13:41:28 +0100
committerMartin Smith <martin.smith@qt.io>2018-01-04 12:51:36 +0000
commit68c432f90ce01d5c60c1b1c2ab350cefdaebb44b (patch)
tree6f93f36cd317d60e5d6727a0573067749aa6a1f4 /src
parent38cfda3c822e9ba8e83d5389633899f6426e6fdb (diff)
doc: Correct qdoc warning in QVariantAnimation
Added missing template clause to a template friend function of class QVariantAnimation. Change-Id: Ia96dcbb1dad1f6678642564a55991445d0b6ba0e Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/corelib/animation/qvariantanimation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/animation/qvariantanimation.cpp b/src/corelib/animation/qvariantanimation.cpp
index 7117092c54..fb45877eee 100644
--- a/src/corelib/animation/qvariantanimation.cpp
+++ b/src/corelib/animation/qvariantanimation.cpp
@@ -403,7 +403,7 @@ Q_GLOBAL_STATIC(QInterpolatorVector, registeredInterpolators)
static QBasicMutex registeredInterpolatorsMutex;
/*!
- \fn void qRegisterAnimationInterpolator(QVariant (*func)(const T &from, const T &to, qreal progress))
+ \fn template <typename T> void qRegisterAnimationInterpolator(QVariant (*func)(const T &from, const T &to, qreal progress))
\relates QVariantAnimation
\threadsafe