aboutsummaryrefslogtreecommitdiffstats
path: root/src/qmlxmllistmodel
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@qt.io>2022-04-28 16:29:36 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2022-05-01 19:48:49 +0000
commitb6ae613432f445fa304eaff9358080f710ae8e63 (patch)
tree159f346cb820fedbe62809be44cfaa164237efcd /src/qmlxmllistmodel
parente7aa910c5ccbbbaa5be64c876656935074927f66 (diff)
QmlXmlListModel: includemocs
Including moc files directly into their classes' TU tends to improve codegen and enables extended compiler warnings, e.g. about unused private functions or fields. Task-number: QTBUG-102948 Change-Id: If28a373302660f6d0d395d81a900f8385e857f52 Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io> (cherry picked from commit 62caf9e111397632326863a722602ec5ce08bc59) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src/qmlxmllistmodel')
-rw-r--r--src/qmlxmllistmodel/qqmlxmllistmodel.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qmlxmllistmodel/qqmlxmllistmodel.cpp b/src/qmlxmllistmodel/qqmlxmllistmodel.cpp
index 2249eaeac5..cf324c5740 100644
--- a/src/qmlxmllistmodel/qqmlxmllistmodel.cpp
+++ b/src/qmlxmllistmodel/qqmlxmllistmodel.cpp
@@ -991,3 +991,5 @@ void QQmlXmlListModelQueryRunnable::readSubTree(const QString &prefix, QXmlStrea
}
QT_END_NAMESPACE
+
+#include "moc_qqmlxmllistmodel_p.cpp"