summary refs log tree commit diff
path: root/src/MatrixClient.cc
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2017-04-11 02:35:09 +0300
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2017-04-11 02:35:09 +0300
commit0770f6e6b5099602def4966174ece8789996a78c (patch)
treece5bfb297d0af8c485019aa548a140bbc58e1414 /src/MatrixClient.cc
parentAllow message text selection (diff)
downloadnheko-0770f6e6b5099602def4966174ece8789996a78c.tar.xz
Make the timer single shot
Diffstat (limited to 'src/MatrixClient.cc')
-rw-r--r--src/MatrixClient.cc2
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;
 	}