mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
Auto launder URI
This commit is contained in:
parent
142cda5ef4
commit
411d1d33e3
@ -50,6 +50,9 @@ QString QgsArcgisVectorTileConnectionDialog::connectionUri() const
|
||||
{
|
||||
QgsVectorTileProviderConnection::Data conn;
|
||||
conn.url = mEditUrl->text();
|
||||
if ( conn.url.endsWith( '/' ) )
|
||||
conn.url = conn.url.left( conn.url.length() - 1 );
|
||||
|
||||
conn.serviceType = QgsVectorTileProviderConnection::ArcgisVectorTileService;
|
||||
conn.username = mAuthSettings->username();
|
||||
conn.password = mAuthSettings->password();
|
||||
|
Loading…
x
Reference in New Issue
Block a user