mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-15 00:02:52 -04:00
remove redundant inner if in QgsAuthPlanetaryComputerMethod
This commit is contained in:
parent
72ee36b84c
commit
0700348b04
@ -207,7 +207,7 @@ void QgsAuthPlanetaryComputerMethod::updateUri( QString &uri, const QgsAuthMetho
|
|||||||
const QString query( url.query() );
|
const QString query( url.query() );
|
||||||
if ( query.isEmpty() )
|
if ( query.isEmpty() )
|
||||||
url.setQuery( token );
|
url.setQuery( token );
|
||||||
else if ( !token.isEmpty() )
|
else
|
||||||
url.setQuery( QStringLiteral( "%1&%2" ).arg( query, token ) );
|
url.setQuery( QStringLiteral( "%1&%2" ).arg( query, token ) );
|
||||||
|
|
||||||
if ( isVsi )
|
if ( isVsi )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user