Skip to content

Commit

Permalink
rerename transformContext -> context
Browse files Browse the repository at this point in the history
  • Loading branch information
lbartoletti committed Oct 9, 2018
1 parent 9bbabcf commit 03d730c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion python/core/auto_generated/qgstracer.sip.in
Expand Up @@ -48,7 +48,7 @@ Returns the CRS used for tracing.
.. seealso:: :py:func:`setDestinationCrs`
%End

void setDestinationCrs( const QgsCoordinateReferenceSystem &crs, const QgsCoordinateTransformContext &transformContext );
void setDestinationCrs( const QgsCoordinateReferenceSystem &crs, const QgsCoordinateTransformContext &context );
%Docstring
Sets the ``crs`` and ``transformContext`` used for tracing.

Expand Down
4 changes: 2 additions & 2 deletions src/core/qgstracer.cpp
Expand Up @@ -623,10 +623,10 @@ void QgsTracer::setLayers( const QList<QgsVectorLayer *> &layers )
invalidateGraph();
}

void QgsTracer::setDestinationCrs( const QgsCoordinateReferenceSystem &crs, const QgsCoordinateTransformContext &transformContext )
void QgsTracer::setDestinationCrs( const QgsCoordinateReferenceSystem &crs, const QgsCoordinateTransformContext &context )
{
mCRS = crs;
mTransformContext = transformContext;
mTransformContext = context;
invalidateGraph();
}

Expand Down
2 changes: 1 addition & 1 deletion src/core/qgstracer.h
Expand Up @@ -66,7 +66,7 @@ class CORE_EXPORT QgsTracer : public QObject
* Sets the \a crs and \a transformContext used for tracing.
* \see destinationCrs()
*/
void setDestinationCrs( const QgsCoordinateReferenceSystem &crs, const QgsCoordinateTransformContext &transformContext );
void setDestinationCrs( const QgsCoordinateReferenceSystem &crs, const QgsCoordinateTransformContext &context );

/**
* Sets the \a renderContext used for tracing only on visible features.
Expand Down

0 comments on commit 03d730c

Please sign in to comment.