Skip to content

Commit

Permalink
Revert "Set content also when there is no buffer"
Browse files Browse the repository at this point in the history
This reverts commit c62a255.

Fixes #46989
  • Loading branch information
m-kuhn committed Jan 26, 2022
1 parent c4d2dc2 commit 1ff65a3
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/core/network/qgsnetworkaccessmanager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -353,11 +353,6 @@ QNetworkReply *QgsNetworkAccessManager::createRequest( QNetworkAccessManager::Op
{
content = buffer->buffer();
}
else if ( outgoingData )
{
content = outgoingData->readAll();
outgoingData->seek( 0 );
}

emit requestAboutToBeCreated( QgsNetworkRequestParameters( op, req, requestId, content ) );
Q_NOWARN_DEPRECATED_PUSH
Expand Down

0 comments on commit 1ff65a3

Please sign in to comment.