summaryrefslogtreecommitdiffstats
path: root/src/sensors/qholstersensor.cpp
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2018-11-28 15:50:14 +0100
committerEdward Welbourne <edward.welbourne@qt.io>2018-11-29 09:53:35 +0000
commit9d7810aac08beeb73aa968ed6426ee5cdcda4b35 (patch)
tree1439262522a1e5902515a6c311fd6d2c860c56c2 /src/sensors/qholstersensor.cpp
parent42717e536a91c79dcd2633f0c96eafe2056e6d09 (diff)
Compile-fix (g++ 8): move #include of mocs outside namespace
Change-Id: I7a1697ff968d052a2a8268299db8fde4f9f34338 Reviewed-by: Lincoln Ramsay <a1291762@gmail.com> Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
Diffstat (limited to 'src/sensors/qholstersensor.cpp')
-rw-r--r--src/sensors/qholstersensor.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sensors/qholstersensor.cpp b/src/sensors/qholstersensor.cpp
index b28815a6..8bb14748 100644
--- a/src/sensors/qholstersensor.cpp
+++ b/src/sensors/qholstersensor.cpp
@@ -152,5 +152,6 @@ QHolsterReading *QHolsterSensor::reading() const
return static_cast<QHolsterReading*>(QSensor::reading());
}
-#include "moc_qholstersensor.cpp"
QT_END_NAMESPACE
+
+#include "moc_qholstersensor.cpp"