From 0700348b047ceedd9351363ed8769d60789916ac Mon Sep 17 00:00:00 2001 From: uclaros Date: Tue, 12 Aug 2025 12:17:32 +0300 Subject: [PATCH] remove redundant inner if in QgsAuthPlanetaryComputerMethod --- .../planetary_computer/core/qgsauthplanetarycomputermethod.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/auth/planetary_computer/core/qgsauthplanetarycomputermethod.cpp b/src/auth/planetary_computer/core/qgsauthplanetarycomputermethod.cpp index 1a6a6cfdc77..2fbf924495e 100644 --- a/src/auth/planetary_computer/core/qgsauthplanetarycomputermethod.cpp +++ b/src/auth/planetary_computer/core/qgsauthplanetarycomputermethod.cpp @@ -207,7 +207,7 @@ void QgsAuthPlanetaryComputerMethod::updateUri( QString &uri, const QgsAuthMetho const QString query( url.query() ); if ( query.isEmpty() ) url.setQuery( token ); - else if ( !token.isEmpty() ) + else url.setQuery( QStringLiteral( "%1&%2" ).arg( query, token ) ); if ( isVsi )