Skip to content

Commit 7985c4e

Browse files
committed
fix warning
1 parent 97b5b3f commit 7985c4e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/providers/wms/qgswmsprovider.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1132,6 +1132,8 @@ void QgsWmsProvider::tileReplyFinished()
11321132
int tileReqNo = reply->request().attribute( static_cast<QNetworkRequest::Attribute>( TileReqNo ) ).toInt();
11331133
int tileNo = reply->request().attribute( static_cast<QNetworkRequest::Attribute>( TileIndex ) ).toInt();
11341134
QRectF r = reply->request().attribute( static_cast<QNetworkRequest::Attribute>( TileRect ) ).toRectF();
1135+
1136+
#ifdef QGISDEBUG
11351137
int retry = reply->request().attribute( static_cast<QNetworkRequest::Attribute>( TileRetry ) ).toInt();
11361138

11371139
#if QT_VERSION >= 0x40500
@@ -1149,6 +1151,7 @@ void QgsWmsProvider::tileReplyFinished()
11491151
.arg( reply->errorString() )
11501152
.arg( reply->url().toString() )
11511153
);
1154+
#endif
11521155
#endif
11531156

11541157
if ( reply->error() == QNetworkReply::NoError )

0 commit comments

Comments
 (0)