Skip to content

Commit

Permalink
Spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Aug 6, 2021
1 parent 354d334 commit 02b04fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python/core/auto_generated/qgsmaplayerutils.sip.in
Expand Up @@ -48,7 +48,7 @@ This method can be used to test whether a layer is associated with a file path.

static bool updateLayerSourcePath( QgsMapLayer *layer, const QString &newPath );
%Docstring
Updates a ``layer``'s data source, replacing its data source with a path refering to ``newPath``.
Updates a ``layer``'s data source, replacing its data source with a path referring to ``newPath``.

Returns ``True`` if the layer was updated, or ``False`` if the layer was not updated (e.g. it
uses a data provider which does not specify paths in a layer URI.
Expand Down
2 changes: 1 addition & 1 deletion src/core/qgsmaplayerutils.h
Expand Up @@ -61,7 +61,7 @@ class CORE_EXPORT QgsMapLayerUtils
static bool layerSourceMatchesPath( const QgsMapLayer *layer, const QString &path );

/**
* Updates a \a layer's data source, replacing its data source with a path refering to \a newPath.
* Updates a \a layer's data source, replacing its data source with a path referring to \a newPath.
*
* Returns TRUE if the layer was updated, or FALSE if the layer was not updated (e.g. it
* uses a data provider which does not specify paths in a layer URI.
Expand Down

0 comments on commit 02b04fc

Please sign in to comment.