Remove unused variables

This commit is contained in:
Konstantinos Sideris 2018-03-10 23:31:01 +02:00
parent 39abf163b8
commit 290de548bb
1 changed files with 2 additions and 2 deletions

View File

@ -745,7 +745,7 @@ MatrixClient::downloadImage(const QUrl &url)
auto reply = get(image_request);
auto proxy = new DownloadMediaProxy;
connect(reply, &QNetworkReply::finished, this, [this, reply, proxy]() {
connect(reply, &QNetworkReply::finished, this, [reply, proxy]() {
reply->deleteLater();
int status = reply->attribute(QNetworkRequest::HttpStatusCodeAttribute).toInt();
@ -776,7 +776,7 @@ MatrixClient::downloadFile(const QUrl &url)
auto reply = get(fileRequest);
auto proxy = new DownloadMediaProxy;
connect(reply, &QNetworkReply::finished, this, [this, reply, proxy]() {
connect(reply, &QNetworkReply::finished, this, [reply, proxy]() {
reply->deleteLater();
int status = reply->attribute(QNetworkRequest::HttpStatusCodeAttribute).toInt();