Skip to content
Permalink
Browse files

Typo

  • Loading branch information
nyalldawson committed Jan 25, 2019
1 parent ca06d40 commit acafa744a828dbd057c11b1807dddeeaa10fd601
Showing with 3 additions and 3 deletions.
  1. +2 −2 src/core/qgsnetworkaccessmanager.cpp
  2. +1 −1 src/core/qgsnetworkaccessmanager.h
@@ -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 );
}
}

@@ -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;

0 comments on commit acafa74

Please sign in to comment.
You can’t perform that action at this time.