Remove unused variables
This commit is contained in:
parent
39abf163b8
commit
290de548bb
@ -745,7 +745,7 @@ MatrixClient::downloadImage(const QUrl &url)
|
|||||||
|
|
||||||
auto reply = get(image_request);
|
auto reply = get(image_request);
|
||||||
auto proxy = new DownloadMediaProxy;
|
auto proxy = new DownloadMediaProxy;
|
||||||
connect(reply, &QNetworkReply::finished, this, [this, reply, proxy]() {
|
connect(reply, &QNetworkReply::finished, this, [reply, proxy]() {
|
||||||
reply->deleteLater();
|
reply->deleteLater();
|
||||||
|
|
||||||
int status = reply->attribute(QNetworkRequest::HttpStatusCodeAttribute).toInt();
|
int status = reply->attribute(QNetworkRequest::HttpStatusCodeAttribute).toInt();
|
||||||
@ -776,7 +776,7 @@ MatrixClient::downloadFile(const QUrl &url)
|
|||||||
|
|
||||||
auto reply = get(fileRequest);
|
auto reply = get(fileRequest);
|
||||||
auto proxy = new DownloadMediaProxy;
|
auto proxy = new DownloadMediaProxy;
|
||||||
connect(reply, &QNetworkReply::finished, this, [this, reply, proxy]() {
|
connect(reply, &QNetworkReply::finished, this, [reply, proxy]() {
|
||||||
reply->deleteLater();
|
reply->deleteLater();
|
||||||
|
|
||||||
int status = reply->attribute(QNetworkRequest::HttpStatusCodeAttribute).toInt();
|
int status = reply->attribute(QNetworkRequest::HttpStatusCodeAttribute).toInt();
|
||||||
|
Loading…
Reference in New Issue
Block a user