Skip to content

Commit

Permalink
Address review
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvn authored and nyalldawson committed Nov 10, 2021
1 parent 2e75f6a commit dc6d932
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/core/providers/gdal/qgsgdalprovider.cpp
Expand Up @@ -295,7 +295,7 @@ QString QgsGdalProvider::expandAuthConfig( const QString &dsName )
QRegularExpressionMatch match;
if ( uri.contains( authcfgRe, &match ) )
{
uri = uri.replace( match.captured( 0 ), QString() );
uri = uri.remove( match.captured( 0 ) );
QString configId( match.captured( 1 ) );
QStringList connectionItems;
connectionItems << uri;
Expand Down
2 changes: 1 addition & 1 deletion src/core/providers/ogr/qgsogrproviderutils.cpp
Expand Up @@ -2082,7 +2082,7 @@ QString QgsOgrProviderUtils::expandAuthConfig( const QString &dsName )
QRegularExpressionMatch match;
if ( uri.contains( authcfgRe, &match ) )
{
uri = uri.replace( match.captured( 0 ), QString() );
uri = uri.remove( match.captured( 0 ) );
QString configId( match.captured( 1 ) );
QStringList connectionItems;
connectionItems << uri;
Expand Down

0 comments on commit dc6d932

Please sign in to comment.