Skip to content
Permalink
Browse files
Apply suggestions from code review
  • Loading branch information
nyalldawson committed Jun 29, 2021
1 parent 1a2ff54 commit 928a170ba644ee6575bdb2341e8112e94b4cf37e
Showing with 0 additions and 2 deletions.
  1. +0 −2 src/core/vectortile/qgsvectortilelayer.cpp
@@ -427,7 +427,6 @@ bool QgsVectorTileLayer::loadDefaultStyle( QString &error, QStringList &warnings
QUrl spriteUrl = QUrl( spriteUriBase );
spriteUrl.setPath( spriteUrl.path() + QStringLiteral( "%1.json" ).arg( resolution > 1 ? QStringLiteral( "@%1x" ).arg( resolution ) : QString() ) );
QNetworkRequest request = QNetworkRequest( spriteUrl );

QgsSetRequestInitiatorClass( request, QStringLiteral( "QgsVectorTileLayer" ) )
QgsBlockingNetworkRequest networkRequest;
switch ( networkRequest.get( request ) )
@@ -441,7 +440,6 @@ bool QgsVectorTileLayer::loadDefaultStyle( QString &error, QStringList &warnings
QUrl spriteUrl = QUrl( spriteUriBase );
spriteUrl.setPath( spriteUrl.path() + QStringLiteral( "%1.png" ).arg( resolution > 1 ? QStringLiteral( "@%1x" ).arg( resolution ) : QString() ) );
QNetworkRequest request = QNetworkRequest( spriteUrl );

QgsSetRequestInitiatorClass( request, QStringLiteral( "QgsVectorTileLayer" ) )
QgsBlockingNetworkRequest networkRequest;
switch ( networkRequest.get( request ) )

0 comments on commit 928a170

Please sign in to comment.