diff options
author | Eskil Abrahamsen Blomfeldt <[email protected]> | 2020-11-09 14:07:45 +0100 |
---|---|---|
committer | Eskil Abrahamsen Blomfeldt <[email protected]> | 2020-11-10 07:39:59 +0100 |
commit | eb54d6a6bf12a2260e40c80d6afbb8b4fe7f90f6 (patch) | |
tree | a16b07ebe46b24b737457ca27fba6feddfa5ccc8 /src/qmlmodels/qqmltableinstancemodel.cpp | |
parent | 48b99929d04e1831923fce1e2d4034eaaecb3302 (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 <[email protected]>
Diffstat (limited to 'src/qmlmodels/qqmltableinstancemodel.cpp')
-rw-r--r-- | src/qmlmodels/qqmltableinstancemodel.cpp | 4 |
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" + |