Skip to content

Commit

Permalink
fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Nov 6, 2013
1 parent 97b5b3f commit 7985c4e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/providers/wms/qgswmsprovider.cpp
Expand Up @@ -1132,6 +1132,8 @@ void QgsWmsProvider::tileReplyFinished()
int tileReqNo = reply->request().attribute( static_cast<QNetworkRequest::Attribute>( TileReqNo ) ).toInt();
int tileNo = reply->request().attribute( static_cast<QNetworkRequest::Attribute>( TileIndex ) ).toInt();
QRectF r = reply->request().attribute( static_cast<QNetworkRequest::Attribute>( TileRect ) ).toRectF();

#ifdef QGISDEBUG
int retry = reply->request().attribute( static_cast<QNetworkRequest::Attribute>( TileRetry ) ).toInt();

#if QT_VERSION >= 0x40500
Expand All @@ -1149,6 +1151,7 @@ void QgsWmsProvider::tileReplyFinished()
.arg( reply->errorString() )
.arg( reply->url().toString() )
);
#endif
#endif

if ( reply->error() == QNetworkReply::NoError )
Expand Down

0 comments on commit 7985c4e

Please sign in to comment.