diff options
author | Marc Mutz <marc.mutz@qt.io> | 2022-02-14 08:40:45 +0100 |
---|---|---|
committer | Marc Mutz <marc.mutz@qt.io> | 2022-02-15 09:08:16 +0100 |
commit | 9b6c288281fc09223067d9f51a350ae1e43aadcd (patch) | |
tree | a424e249e1f50f666b88800528decf56798f5f99 /src/gui/kernel/qevent.cpp | |
parent | 60a67dc41eb79ed488e8509769a2e2b96bed93bb (diff) |
De-duplicate vtables, 2022 edition
This de-inlines destuctors of classes whose vtables are proven to be
duplicated even within the set of Qt libraries.
Since these are all private API classes, we can pick all the way back
to 6.2, and we don't need the comment that the dtor must always stay
empty, like for public classes.
As a drive-by, also de-inline the QPaintDeviceWindowPrivate ctor.
That's just code hygiene, it doesn't partake in vtable duplicating.
Pick-to: 6.3 6.2
Task-number: QTBUG-45582
Change-Id: I3477063d6f42edc9a5d352c47900366fd50c3ef6
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
Diffstat (limited to 'src/gui/kernel/qevent.cpp')
-rw-r--r-- | src/gui/kernel/qevent.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/kernel/qevent.cpp b/src/gui/kernel/qevent.cpp index 5bff8488db..c613b7abc4 100644 --- a/src/gui/kernel/qevent.cpp +++ b/src/gui/kernel/qevent.cpp @@ -4861,6 +4861,9 @@ QApplicationStateChangeEvent::QApplicationStateChangeEvent(Qt::ApplicationState Returns the state of the application. */ +QMutableTouchEvent::~QMutableTouchEvent() + = default; + /*! \internal Add the given \a point. */ @@ -4874,5 +4877,7 @@ void QMutableTouchEvent::addPoint(const QEventPoint &point) } +QMutableSinglePointEvent::~QMutableSinglePointEvent() + = default; QT_END_NAMESPACE |