From 0770f6e6b5099602def4966174ece8789996a78c Mon Sep 17 00:00:00 2001 From: Konstantinos Sideris Date: Tue, 11 Apr 2017 02:35:09 +0300 Subject: Make the timer single shot --- src/MatrixClient.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/MatrixClient.cc') 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; } -- cgit 1.5.1