Skip to content
Permalink
Browse files

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

Fixes #38446
  • Loading branch information
nyalldawson committed Aug 26, 2020
1 parent 8a3546a commit cee6a764bcf1f2ff9cef0caaab21b1720cacad36
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();

@@ -707,9 +707,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();
}
@@ -845,8 +842,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

@@ -3473,7 +3468,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 cee6a76

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