Skip to content

Commit 03d730c

Browse files
committed
rerename transformContext -> context
1 parent 9bbabcf commit 03d730c

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

python/core/auto_generated/qgstracer.sip.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Returns the CRS used for tracing.
4848
.. seealso:: :py:func:`setDestinationCrs`
4949
%End
5050

51-
void setDestinationCrs( const QgsCoordinateReferenceSystem &crs, const QgsCoordinateTransformContext &transformContext );
51+
void setDestinationCrs( const QgsCoordinateReferenceSystem &crs, const QgsCoordinateTransformContext &context );
5252
%Docstring
5353
Sets the ``crs`` and ``transformContext`` used for tracing.
5454

src/core/qgstracer.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -623,10 +623,10 @@ void QgsTracer::setLayers( const QList<QgsVectorLayer *> &layers )
623623
invalidateGraph();
624624
}
625625

626-
void QgsTracer::setDestinationCrs( const QgsCoordinateReferenceSystem &crs, const QgsCoordinateTransformContext &transformContext )
626+
void QgsTracer::setDestinationCrs( const QgsCoordinateReferenceSystem &crs, const QgsCoordinateTransformContext &context )
627627
{
628628
mCRS = crs;
629-
mTransformContext = transformContext;
629+
mTransformContext = context;
630630
invalidateGraph();
631631
}
632632

src/core/qgstracer.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ class CORE_EXPORT QgsTracer : public QObject
6666
* Sets the \a crs and \a transformContext used for tracing.
6767
* \see destinationCrs()
6868
*/
69-
void setDestinationCrs( const QgsCoordinateReferenceSystem &crs, const QgsCoordinateTransformContext &transformContext );
69+
void setDestinationCrs( const QgsCoordinateReferenceSystem &crs, const QgsCoordinateTransformContext &context );
7070

7171
/**
7272
* Sets the \a renderContext used for tracing only on visible features.

0 commit comments

Comments
 (0)