diff --git a/app/position/positiontransformer.h b/app/position/positiontransformer.h index fb9a62250..87e4a2c6a 100644 --- a/app/position/positiontransformer.h +++ b/app/position/positiontransformer.h @@ -44,7 +44,7 @@ class PositionTransformer : QObject /** * Transform the elevation if the user sets custom vertical CRS. The elevation gets recalculated to ellipsoid elevation * and then back to orthometric based on specified CRS. - * \note This method should be used only with Bluetooth PositionProvider to mitigate unnecessary transformations + * \note This method should be used only with BluetoothPositionProvider to mitigate unnecessary transformations * \return Copy of passed geoPosition with processed elevation and elevation separation. */ GeoPosition processBluetoothPosition( GeoPosition geoPosition ); diff --git a/app/position/providers/bluetoothpositionprovider.cpp b/app/position/providers/bluetoothpositionprovider.cpp index 167750d48..c96a235db 100644 --- a/app/position/providers/bluetoothpositionprovider.cpp +++ b/app/position/providers/bluetoothpositionprovider.cpp @@ -214,6 +214,6 @@ void BluetoothPositionProvider::positionUpdateReceived() GeoPosition positionData = GeoPosition::fromQgsGpsInformation( data ); GeoPosition transformedPosition = mPositionTransformer->processBluetoothPosition( positionData ); - emit positionChanged( positionData ); + emit positionChanged( transformedPosition ); } }