Skip to content

Commit acafa74

Browse files
committedJan 25, 2019
Typo
1 parent ca06d40 commit acafa74

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
 

‎src/core/qgsnetworkaccessmanager.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -264,14 +264,14 @@ void QgsNetworkAccessManager::onReplyFinished( QNetworkReply *reply )
264264
emit finished( QgsNetworkReplyContent( reply ) );
265265
}
266266

267-
void QgsNetworkAccessManager::onReplyDownloadProgress( qint64 bytesRecevied, qint64 bytesTotal )
267+
void QgsNetworkAccessManager::onReplyDownloadProgress( qint64 bytesReceived, qint64 bytesTotal )
268268
{
269269
if ( QNetworkReply *reply = qobject_cast< QNetworkReply *>( sender() ) )
270270
{
271271
bool ok = false;
272272
int requestId = reply->property( "requestId" ).toInt( &ok );
273273
if ( ok )
274-
emit downloadProgress( requestId, bytesRecevied, bytesTotal );
274+
emit downloadProgress( requestId, bytesReceived, bytesTotal );
275275
}
276276
}
277277

‎src/core/qgsnetworkaccessmanager.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ class CORE_EXPORT QgsNetworkAccessManager : public QNetworkAccessManager
287287

288288
void onReplyFinished( QNetworkReply *reply );
289289

290-
void onReplyDownloadProgress( qint64 bytesRecevied, qint64 bytesTotal );
290+
void onReplyDownloadProgress( qint64 bytesReceived, qint64 bytesTotal );
291291

292292
protected:
293293
QNetworkReply *createRequest( QNetworkAccessManager::Operation op, const QNetworkRequest &req, QIODevice *outgoingData = nullptr ) override;

0 commit comments

Comments
 (0)
Please sign in to comment.