Fix travis errors

This commit is contained in:
Konstantinos Sideris 2017-12-04 18:49:25 +02:00
parent a605e4486f
commit b9c4a819ad
2 changed files with 1 additions and 2 deletions

View file

@ -927,7 +927,7 @@ MatrixClient::readEvent(const QString &room_id, const QString &event_id)
auto reply = post(request, "{}");
connect(reply, &QNetworkReply::finished, this, [this, reply]() {
connect(reply, &QNetworkReply::finished, this, [reply]() {
reply->deleteLater();
int status = reply->attribute(QNetworkRequest::HttpStatusCodeAttribute).toInt();