summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@qt.io>2021-12-30 10:38:45 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2022-01-05 13:53:18 +0000
commit2d6e2f3d17152966f961fcb86392a274b706d408 (patch)
tree1dd617b86391f81f38c4c21af8e479b2ee9f1eac
parentf093e0a3199332443dd1694bfb210a84bb585870 (diff)
QAbstractAnimation: add missing forward-declaration
QUnifiedTimer is declared as a friend using an unqualified name that hasn't been forward-declared before. In this situation, the friend declaration declares the name. This is subtle, and while it's ok here, in other situations it can actually lead to two different names being declared. Fix by adding the missing forward declaration. Change-Id: Ie9f5165578f1d88c6bee1afa23ef43847755a0eb Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> (cherry picked from commit 85c31d976fd4ea611f03b18372f57130c16f9c34) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--src/corelib/animation/qabstractanimation.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/corelib/animation/qabstractanimation.h b/src/corelib/animation/qabstractanimation.h
index 3165c2b049..fda0f7d4c4 100644
--- a/src/corelib/animation/qabstractanimation.h
+++ b/src/corelib/animation/qabstractanimation.h
@@ -49,6 +49,7 @@ QT_BEGIN_NAMESPACE
class QAnimationGroup;
class QSequentialAnimationGroup;
class QAnimationDriver;
+class QUnifiedTimer;
class QAbstractAnimationPrivate;
class Q_CORE_EXPORT QAbstractAnimation : public QObject