diff options
author | Marc Mutz <marc.mutz@qt.io> | 2022-01-10 09:20:16 +0100 |
---|---|---|
committer | Marc Mutz <marc.mutz@qt.io> | 2022-01-12 02:03:15 +0100 |
commit | 5327bae6f09ce94af9131d26b9e35e2b874b7a69 (patch) | |
tree | df3bdae032bb43e642c038be6dab18acb0d105d6 /src | |
parent | 3917838d64a39186f5b4eedbd55347e445ca2aec (diff) |
QEventPoint: forward-declare QMutableEventPoint before befriending it
Otherwise the friend declaration declares the name, which here is ok,
but can cause duplicate names in other situations.
Pick-to: 6.3 6.2
Change-Id: I695f9c5c116b90ba52e1b99e15f31e732e63d357
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/kernel/qeventpoint.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/kernel/qeventpoint.h b/src/gui/kernel/qeventpoint.h index 52b5c26039..fbcdc20193 100644 --- a/src/gui/kernel/qeventpoint.h +++ b/src/gui/kernel/qeventpoint.h @@ -50,6 +50,7 @@ QT_BEGIN_NAMESPACE class QEventPointPrivate; QT_DECLARE_QESDP_SPECIALIZATION_DTOR_WITH_EXPORT(QEventPointPrivate, Q_GUI_EXPORT) +class QMutableEventPoint; class Q_GUI_EXPORT QEventPoint { |