Skip to content
Permalink
Browse files

Be more selectively about the messages we show in the status bar

  • Loading branch information
github-actions authored and nyalldawson committed Aug 26, 2020
1 parent 4e804a0 commit 329806a244fd8403d50bd057f4fb8dd91ca87c41
Showing with 0 additions and 8 deletions.
  1. +0 −2 src/providers/wcs/qgswcsprovider.cpp
  2. +0 −6 src/providers/wms/qgswmsprovider.cpp
@@ -801,8 +801,6 @@ void QgsWcsProvider::getCache( int bandNo, QgsRectangle const &viewExtent, int

//mGetFeatureInfoUrlBase = mIgnoreGetFeatureInfoUrl ? mBaseUrl : getFeatureInfoUrl();

emit statusChanged( tr( "Getting map via WCS." ) );

QgsWcsDownloadHandler handler( url, mAuth, mCacheLoadControl, mCachedData, mCapabilities.version(), mCachedError, feedback );
handler.blockingDownload();

@@ -692,9 +692,6 @@ QImage *QgsWmsProvider::draw( QgsRectangle const &viewExtent, int pixelWidth, in
QUrl url = createRequestUrlWMS( viewExtent, pixelWidth, pixelHeight );

// cache some details for if the user wants to do an identifyAsHtml() later

emit statusChanged( tr( "Getting map via WMS." ) );

QgsWmsImageDownloadHandler handler( dataSourceUri(), url, mSettings.authorization(), image, feedback );
handler.downloadBlocking();
}
@@ -830,8 +827,6 @@ QImage *QgsWmsProvider::draw( QgsRectangle const &viewExtent, int pixelWidth, in
return image;
}

emit statusChanged( tr( "Getting tiles." ) );

QList<TileImage> tileImages; // in the correct resolution
QList<QRectF> missing; // rectangles (in map coords) of missing tiles for this view

@@ -3458,7 +3453,6 @@ void QgsWmsProvider::identifyReplyFinished()
if ( !redirect.isNull() )
{
QgsDebugMsgLevel( QStringLiteral( "identify request redirected to %1" ).arg( redirect.toString() ), 2 );
emit statusChanged( tr( "identify request redirected." ) );

mIdentifyReply->deleteLater();

0 comments on commit 329806a

Please sign in to comment.
You can’t perform that action at this time.