aboutsummaryrefslogtreecommitdiffstats
path: root/src/qmlmodels
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>2020-11-09 14:07:45 +0100
committerEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>2020-11-10 07:39:59 +0100
commiteb54d6a6bf12a2260e40c80d6afbb8b4fe7f90f6 (patch)
treea16b07ebe46b24b737457ca27fba6feddfa5ccc8 /src/qmlmodels
parent48b99929d04e1831923fce1e2d4034eaaecb3302 (diff)
Fix compilation with namespaces
The moc_ file was included inside the namespace, causing its includes to generate nested namespaces. Recently some changes to the meta type system turned this into a compilation error. Change-Id: I31d6c9133bf56d12457daaa219467e44c1b4a7ea Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/qmlmodels')
-rw-r--r--src/qmlmodels/qqmltableinstancemodel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qmlmodels/qqmltableinstancemodel.cpp b/src/qmlmodels/qqmltableinstancemodel.cpp
index 332a5447b1..0b9b951633 100644
--- a/src/qmlmodels/qqmltableinstancemodel.cpp
+++ b/src/qmlmodels/qqmltableinstancemodel.cpp
@@ -504,7 +504,7 @@ void QQmlTableInstanceModelIncubationTask::statusChanged(QQmlIncubator::Status s
tableInstanceModel->incubatorStatusChanged(this, status);
}
-#include "moc_qqmltableinstancemodel_p.cpp"
-
QT_END_NAMESPACE
+#include "moc_qqmltableinstancemodel_p.cpp"
+