diff options
| author | Fabian Kosmale <fabian.kosmale@qt.io> | 2022-10-17 15:40:00 +0200 |
|---|---|---|
| committer | Fabian Kosmale <fabian.kosmale@qt.io> | 2022-10-19 08:55:38 +0200 |
| commit | 52659c494d89f2b9f301cec37e5435d381f7ccd3 (patch) | |
| tree | d39fb41221e9205b1b16a2c2cb215969a474614d /src/quick/handlers/qquickhandlerpoint.cpp | |
| parent | d3f2c6ac4205bbe5a1c7174965dbce6f90972be3 (diff) | |
qquickpointerhandler_p.h: Clean up includes
The referenced bug report specifically complained about warnings caused
by including qquickpointerhandler_p.h. All of those -Wshorten-64-to-32
warnings come from headers that aren't strictly needed for
qquickpointerhandler_p, though.
So fix the issue by only including what is actually need, which also
slightly improves compile times. This requires adding a few transitive
includes in select places.
As a drive-by, remove the unneeded QML_DECLARE_TYPE.
Fixes: QTBUG-105055
Change-Id: I24d78e7131771a4bbcb402e6838a5a9a11abbbec
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/quick/handlers/qquickhandlerpoint.cpp')
| -rw-r--r-- | src/quick/handlers/qquickhandlerpoint.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/quick/handlers/qquickhandlerpoint.cpp b/src/quick/handlers/qquickhandlerpoint.cpp index 1d2184d428..cb15dbccd6 100644 --- a/src/quick/handlers/qquickhandlerpoint.cpp +++ b/src/quick/handlers/qquickhandlerpoint.cpp @@ -3,6 +3,7 @@ #include "qquickhandlerpoint_p.h" #include "private/qquickevents_p_p.h" +#include "private/qquickdeliveryagent_p_p.h" QT_BEGIN_NAMESPACE Q_DECLARE_LOGGING_CATEGORY(lcTouchTarget) |
