diff options
author | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2017-04-11 02:35:09 +0300 |
---|---|---|
committer | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2017-04-11 02:35:09 +0300 |
commit | 0770f6e6b5099602def4966174ece8789996a78c (patch) | |
tree | ce5bfb297d0af8c485019aa548a140bbc58e1414 /src/MatrixClient.cc | |
parent | Allow message text selection (diff) | |
download | nheko-0770f6e6b5099602def4966174ece8789996a78c.tar.xz |
Make the timer single shot
Diffstat (limited to 'src/MatrixClient.cc')
-rw-r--r-- | src/MatrixClient.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/MatrixClient.cc b/src/MatrixClient.cc index 86aeb179..fb7857c9 100644 --- a/src/MatrixClient.cc +++ b/src/MatrixClient.cc @@ -206,7 +206,7 @@ void MatrixClient::onSyncResponse(QNetworkReply *reply) int status = reply->attribute(QNetworkRequest::HttpStatusCodeAttribute).toInt(); if (status == 0 || status >= 400) { - qWarning() << reply->errorString(); + emit syncFailed(reply->errorString()); return; } |