aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMarc Mutz <[email protected]>2022-04-28 16:29:36 +0200
committerMarc Mutz <[email protected]>2022-04-29 06:39:51 +0200
commit62caf9e111397632326863a722602ec5ce08bc59 (patch)
treef5d62ec28b45568728dee63bab2210ef942ed00a /src
parenta9705293938aff69e3b8710f8da436db884df7d9 (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. Pick-to: 6.3 6.2 5.15 Task-number: QTBUG-102948 Change-Id: If28a373302660f6d0d395d81a900f8385e857f52 Reviewed-by: MÃ¥rten Nordheim <[email protected]>
Diffstat (limited to 'src')
-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"