From e315050fb7bae38c536d8834331ffb6556640308 Mon Sep 17 00:00:00 2001 From: jrt Date: Mon, 9 Nov 2020 12:24:09 +0100 Subject: [PATCH 5/6] removes '+' characters at line start of HRM register --- src/imports/sensors/sensors.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/imports/sensors/sensors.cpp b/src/imports/sensors/sensors.cpp index 1a365e6..75dc903 100644 --- a/src/imports/sensors/sensors.cpp +++ b/src/imports/sensors/sensors.cpp @@ -163,8 +163,8 @@ public: qmlRegisterUncreatableType(package, major, minor, "GyroscopeReading", QLatin1String("Cannot create GyroscopeReading")); qmlRegisterType (package, major, minor, "HolsterSensor"); qmlRegisterUncreatableType(package, major, minor, "HolsterReading", QLatin1String("Cannot create HolsterReading")); -+ qmlRegisterType (package, major, minor, "HrmSensor"); -+ qmlRegisterUncreatableType(package, major, minor, "HrmReading", QLatin1String("Cannot create HrmReading")); + qmlRegisterType (package, major, minor, "HrmSensor"); + qmlRegisterUncreatableType(package, major, minor, "HrmReading", QLatin1String("Cannot create HrmReading")); qmlRegisterType (package, major, minor, "IRProximitySensor"); qmlRegisterUncreatableType(package, major, minor, "IRProximityReading", QLatin1String("Cannot create IRProximityReading")); qmlRegisterType (package, major, minor, "LightSensor"); -- 2.31.1