mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-09 00:05:52 -04:00
fix #2592
git-svn-id: http://svn.osgeo.org/qgis/trunk@13167 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
6977385ac0
commit
c15058b9eb
@ -527,6 +527,7 @@ QImage *QgsWmsProvider::draw( QgsRectangle const &viewExtent, int pixelWidth, i
|
||||
QgsDebugMsg( QString( "getmap: %1" ).arg( url ) );
|
||||
cacheReply = smNAM->get( QNetworkRequest( url ) );
|
||||
connect( cacheReply, SIGNAL( finished() ), this, SLOT( cacheReplyFinished() ) );
|
||||
connect( cacheReply, SIGNAL( downloadProgress( qint64, qint64 ) ), this, SLOT( cacheReplyProgress( qint64, qint64 ) ) );
|
||||
|
||||
mWaiting = true;
|
||||
|
||||
@ -933,6 +934,11 @@ void QgsWmsProvider::capabilitiesReplyProgress( qint64 bytesReceived, qint64 byt
|
||||
emit statusChanged( tr( "%1 of %2 bytes of capabilities downloaded." ).arg( bytesReceived ).arg( bytesTotal < 0 ? QString( "unknown number of" ) : QString::number( bytesTotal ) ) );
|
||||
}
|
||||
|
||||
void QgsWmsProvider::cacheReplyProgress( qint64 bytesReceived, qint64 bytesTotal )
|
||||
{
|
||||
emit statusChanged( tr( "%1 of %2 bytes of map downloaded." ).arg( bytesReceived ).arg( bytesTotal < 0 ? QString( "unknown number of" ) : QString::number( bytesTotal ) ) );
|
||||
}
|
||||
|
||||
bool QgsWmsProvider::parseCapabilitiesDom( QByteArray const &xml, QgsWmsCapabilitiesProperty& capabilitiesProperty )
|
||||
{
|
||||
QgsDebugMsg( "entering." );
|
||||
|
@ -594,6 +594,7 @@ class QgsWmsProvider : public QgsRasterDataProvider
|
||||
|
||||
private slots:
|
||||
void cacheReplyFinished();
|
||||
void cacheReplyProgress( qint64, qint64 );
|
||||
void capabilitiesReplyFinished();
|
||||
void capabilitiesReplyProgress( qint64, qint64 );
|
||||
void identifyReplyFinished();
|
||||
|
Loading…
x
Reference in New Issue
Block a user