diff options
author | Marc Mutz <marc.mutz@qt.io> | 2022-04-28 17:43:37 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@qt.io> | 2022-07-01 08:24:16 +0000 |
commit | 0d3208ff3ddfe7e393950fdaf4f704a4de6b364a (patch) | |
tree | 61c5945957eeb690b3f1fd00eb242b5fab95a52d /src/qmlmodels/qqmllistmodel.cpp | |
parent | 2560d4b1bf3e7404ee9a23ccddf50132bed1a639 (diff) |
QmlModels: 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.
Manual conflict resolutions:
- dropped all includes into non-existing files
Task-number: QTBUG-102948
Change-Id: I080e266e1a23f03efd4acdf48fa51a555429ceac
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
(cherry picked from commit 69f7039ada381591f751d1e213c94d48307657a1)
Diffstat (limited to 'src/qmlmodels/qqmllistmodel.cpp')
-rw-r--r-- | src/qmlmodels/qqmllistmodel.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qmlmodels/qqmllistmodel.cpp b/src/qmlmodels/qqmllistmodel.cpp index ace162b6bf..94bb5d6c02 100644 --- a/src/qmlmodels/qqmllistmodel.cpp +++ b/src/qmlmodels/qqmllistmodel.cpp @@ -3101,4 +3101,6 @@ bool QQmlListModelParser::definesEmptyList(const QString &s) QT_END_NAMESPACE +#include "moc_qqmllistmodel_p_p.cpp" + #include "moc_qqmllistmodel_p.cpp" |