aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZhao Yuhang <[email protected]>2025-04-11 20:05:18 +0800
committerZhao Yuhang <[email protected]>2025-04-13 03:02:40 +0000
commitd2d5f36eab634e3e1ba1215bfedd1eb2259a0543 (patch)
treeff6adbfef86c05df2d317917ce8d217c4cc27ca9
parent60297d4d1e17705c128d11a1ef6f200e59ba4708 (diff)
qml: remove unused header
These headers don't use std::pair at all. Change-Id: I1c5c5974949ada2e05151e238884ce4f12156b5f Reviewed-by: Ulf Hermann <[email protected]>
-rw-r--r--src/plugins/qmltooling/qmldbg_debugger/qqmlwatcher.h1
-rw-r--r--src/plugins/qmltooling/qmldbg_inspector/globalinspector.h1
-rw-r--r--src/qml/qml/qqmlcontext.h1
-rw-r--r--src/qml/qml/qqmlengine_p.h1
-rw-r--r--src/qml/qml/qqmlvmemetaobject_p.h2
-rw-r--r--src/qmlcompiler/qqmljstypereader_p.h2
-rw-r--r--src/qmldom/qqmldomtop.cpp1
-rw-r--r--src/quicknativestyle/qstyle/mac/qquickmacstyle_mac_p_p.h2
-rw-r--r--src/quickvectorimage/generator/qquickanimatedproperty_p.h1
9 files changed, 0 insertions, 12 deletions
diff --git a/src/plugins/qmltooling/qmldbg_debugger/qqmlwatcher.h b/src/plugins/qmltooling/qmldbg_debugger/qqmlwatcher.h
index 40895c894c..e8ed4857c5 100644
--- a/src/plugins/qmltooling/qmldbg_debugger/qqmlwatcher.h
+++ b/src/plugins/qmltooling/qmldbg_debugger/qqmlwatcher.h
@@ -20,7 +20,6 @@
#include <QtCore/qhash.h>
#include <QtCore/qset.h>
#include <QtCore/qpointer.h>
-#include <utility>
QT_BEGIN_NAMESPACE
diff --git a/src/plugins/qmltooling/qmldbg_inspector/globalinspector.h b/src/plugins/qmltooling/qmldbg_inspector/globalinspector.h
index 428f3c82db..a397cb6833 100644
--- a/src/plugins/qmltooling/qmldbg_inspector/globalinspector.h
+++ b/src/plugins/qmltooling/qmldbg_inspector/globalinspector.h
@@ -47,7 +47,6 @@ private:
bool destroyQmlObject(QObject *object, int requestId, int debugId);
bool syncSelectedItems(const QList<QQuickItem *> &items);
- // Hash< object to be destroyed, std::pair<destroy eventId, object debugId> >
QList<QQuickItem *> m_selectedItems;
QHash<QQuickItem *, SelectionHighlight *> m_highlightItems;
QList<QQuickWindowInspector *> m_windowInspectors;
diff --git a/src/qml/qml/qqmlcontext.h b/src/qml/qml/qqmlcontext.h
index 6237f254cf..8ccbb89591 100644
--- a/src/qml/qml/qqmlcontext.h
+++ b/src/qml/qml/qqmlcontext.h
@@ -10,7 +10,6 @@
#include <QtQml/qjsvalue.h>
#include <QtCore/qmetatype.h>
#include <QtCore/qvariant.h>
-#include <utility>
QT_BEGIN_NAMESPACE
diff --git a/src/qml/qml/qqmlengine_p.h b/src/qml/qml/qqmlengine_p.h
index 60d7b4bad8..322f4d6812 100644
--- a/src/qml/qml/qqmlengine_p.h
+++ b/src/qml/qml/qqmlengine_p.h
@@ -45,7 +45,6 @@
#include <QtCore/qthread.h>
#include <atomic>
-#include <utility>
QT_BEGIN_NAMESPACE
diff --git a/src/qml/qml/qqmlvmemetaobject_p.h b/src/qml/qml/qqmlvmemetaobject_p.h
index 9339df9687..ac1fd7ad3c 100644
--- a/src/qml/qml/qqmlvmemetaobject_p.h
+++ b/src/qml/qml/qqmlvmemetaobject_p.h
@@ -35,8 +35,6 @@
#include <QtCore/qlist.h>
#include <QtCore/qmetaobject.h>
-#include <utility>
-
QT_BEGIN_NAMESPACE
class QQmlVMEMetaObject;
diff --git a/src/qmlcompiler/qqmljstypereader_p.h b/src/qmlcompiler/qqmljstypereader_p.h
index 75a9da3639..fe15b0aacb 100644
--- a/src/qmlcompiler/qqmljstypereader_p.h
+++ b/src/qmlcompiler/qqmljstypereader_p.h
@@ -22,8 +22,6 @@
#include <QtCore/qset.h>
-#include <utility>
-
QT_BEGIN_NAMESPACE
class QQmlJSTypeReader
diff --git a/src/qmldom/qqmldomtop.cpp b/src/qmldom/qqmldomtop.cpp
index 5bd796af2a..46a5fe63b6 100644
--- a/src/qmldom/qqmldomtop.cpp
+++ b/src/qmldom/qqmldomtop.cpp
@@ -32,7 +32,6 @@
#endif
#include <memory>
-#include <utility>
QT_BEGIN_NAMESPACE
diff --git a/src/quicknativestyle/qstyle/mac/qquickmacstyle_mac_p_p.h b/src/quicknativestyle/qstyle/mac/qquickmacstyle_mac_p_p.h
index 6a532e19c6..4540351731 100644
--- a/src/quicknativestyle/qstyle/mac/qquickmacstyle_mac_p_p.h
+++ b/src/quicknativestyle/qstyle/mac/qquickmacstyle_mac_p_p.h
@@ -28,8 +28,6 @@
#include <QtCore/private/qcore_mac_p.h>
#include <QtGui/private/qpainter_p.h>
-#include <utility>
-
//
// W A R N I N G
// -------------
diff --git a/src/quickvectorimage/generator/qquickanimatedproperty_p.h b/src/quickvectorimage/generator/qquickanimatedproperty_p.h
index 4d86a1c122..7fca4c80a8 100644
--- a/src/quickvectorimage/generator/qquickanimatedproperty_p.h
+++ b/src/quickvectorimage/generator/qquickanimatedproperty_p.h
@@ -17,7 +17,6 @@
#include <QMap>
#include <QVariant>
-#include <utility>
QT_BEGIN_NAMESPACE