summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qpointingdevice_p.h
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@qt.io>2022-02-14 08:40:45 +0100
committerMarc Mutz <marc.mutz@qt.io>2022-02-15 09:08:16 +0100
commit9b6c288281fc09223067d9f51a350ae1e43aadcd (patch)
treea424e249e1f50f666b88800528decf56798f5f99 /src/gui/kernel/qpointingdevice_p.h
parent60a67dc41eb79ed488e8509769a2e2b96bed93bb (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/qpointingdevice_p.h')
-rw-r--r--src/gui/kernel/qpointingdevice_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/kernel/qpointingdevice_p.h b/src/gui/kernel/qpointingdevice_p.h
index 263bc91864..fd6ee40695 100644
--- a/src/gui/kernel/qpointingdevice_p.h
+++ b/src/gui/kernel/qpointingdevice_p.h
@@ -79,6 +79,7 @@ public:
pointingDeviceType = true;
activePoints.reserve(maxPoints);
}
+ ~QPointingDevicePrivate() override;
void sendTouchCancelEvent(QTouchEvent *cancelEvent);