diff options
author | Marc Mutz <marc.mutz@qt.io> | 2021-12-30 10:38:45 +0100 |
---|---|---|
committer | Marc Mutz <marc.mutz@qt.io> | 2022-01-05 08:22:00 +0100 |
commit | 85c31d976fd4ea611f03b18372f57130c16f9c34 (patch) | |
tree | 82bb197bb5d2481e9cf44e1d4e75b0d63cfa9331 /src/corelib/animation/qabstractanimation.h | |
parent | 682831a00c93480e5f04f8d8d706f9791fa50dfd (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.
Pick-to: 6.3 6.2 5.15
Change-Id: Ie9f5165578f1d88c6bee1afa23ef43847755a0eb
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/corelib/animation/qabstractanimation.h')
-rw-r--r-- | src/corelib/animation/qabstractanimation.h | 1 |
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 |