Skip to content

Commit

Permalink
Merge pull request #6972 from nextcloud/backport/6968/stable-3.13
Browse files Browse the repository at this point in the history
[stable-3.13] forward the redirected signal from QNetworkReply to detect them
  • Loading branch information
mgallien authored Aug 6, 2024
2 parents 89a4bbc + b2d3d9e commit d32b832
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libsync/abstractnetworkjob.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ void AbstractNetworkJob::setupConnections(QNetworkReply *reply)
connect(reply, &QNetworkReply::metaDataChanged, this, &AbstractNetworkJob::networkActivity);
connect(reply, &QNetworkReply::downloadProgress, this, &AbstractNetworkJob::networkActivity);
connect(reply, &QNetworkReply::uploadProgress, this, &AbstractNetworkJob::networkActivity);
connect(reply, &QNetworkReply::redirected, this, [reply, this] (const QUrl &url) { emit redirected(reply, url, 0);});
}

QNetworkReply *AbstractNetworkJob::addTimer(QNetworkReply *reply)
Expand Down

0 comments on commit d32b832

Please sign in to comment.