Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jan 25, 2019
1 parent ca06d40 commit acafa74
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/core/qgsnetworkaccessmanager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -264,14 +264,14 @@ void QgsNetworkAccessManager::onReplyFinished( QNetworkReply *reply )
emit finished( QgsNetworkReplyContent( reply ) );
}

void QgsNetworkAccessManager::onReplyDownloadProgress( qint64 bytesRecevied, qint64 bytesTotal )
void QgsNetworkAccessManager::onReplyDownloadProgress( qint64 bytesReceived, qint64 bytesTotal )
{
if ( QNetworkReply *reply = qobject_cast< QNetworkReply *>( sender() ) )
{
bool ok = false;
int requestId = reply->property( "requestId" ).toInt( &ok );
if ( ok )
emit downloadProgress( requestId, bytesRecevied, bytesTotal );
emit downloadProgress( requestId, bytesReceived, bytesTotal );
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/core/qgsnetworkaccessmanager.h
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ class CORE_EXPORT QgsNetworkAccessManager : public QNetworkAccessManager

void onReplyFinished( QNetworkReply *reply );

void onReplyDownloadProgress( qint64 bytesRecevied, qint64 bytesTotal );
void onReplyDownloadProgress( qint64 bytesReceived, qint64 bytesTotal );

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

0 comments on commit acafa74

Please sign in to comment.