mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-25 20:48:52 +03:00
Fix travis errors
This commit is contained in:
parent
a605e4486f
commit
b9c4a819ad
2 changed files with 1 additions and 2 deletions
|
@ -121,7 +121,6 @@ if(CMAKE_CXX_COMPILER_ID MATCHES "Clang" OR CMAKE_CXX_COMPILER_ID MATCHES "GNU")
|
||||||
-Werror \
|
-Werror \
|
||||||
-pipe \
|
-pipe \
|
||||||
-pedantic \
|
-pedantic \
|
||||||
-ferror-limit=3 \
|
|
||||||
-Wunreachable-code")
|
-Wunreachable-code")
|
||||||
|
|
||||||
if(CMAKE_CXX_COMPILER_ID MATCHES "GNU")
|
if(CMAKE_CXX_COMPILER_ID MATCHES "GNU")
|
||||||
|
|
|
@ -927,7 +927,7 @@ MatrixClient::readEvent(const QString &room_id, const QString &event_id)
|
||||||
|
|
||||||
auto reply = post(request, "{}");
|
auto reply = post(request, "{}");
|
||||||
|
|
||||||
connect(reply, &QNetworkReply::finished, this, [this, reply]() {
|
connect(reply, &QNetworkReply::finished, this, [reply]() {
|
||||||
reply->deleteLater();
|
reply->deleteLater();
|
||||||
|
|
||||||
int status = reply->attribute(QNetworkRequest::HttpStatusCodeAttribute).toInt();
|
int status = reply->attribute(QNetworkRequest::HttpStatusCodeAttribute).toInt();
|
||||||
|
|
Loading…
Reference in a new issue