diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2017-12-21 15:41:34 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2017-12-21 15:41:34 +0900 |
commit | 2bdfc1a657175c3c13d086c780f2907d141fc749 (patch) | |
tree | 32f026a64c5ce9b9d092f776d97a26c326502475 /connection.cpp | |
parent | a39ebe7af964a9c311bf213ba84a1aa5ce43d381 (diff) | |
download | libquotient-2bdfc1a657175c3c13d086c780f2907d141fc749.tar.gz libquotient-2bdfc1a657175c3c13d086c780f2907d141fc749.zip |
Connection::logout: supply receiver to connect(job,...)
Diffstat (limited to 'connection.cpp')
-rw-r--r-- | connection.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/connection.cpp b/connection.cpp index d72e10ed..b6239762 100644 --- a/connection.cpp +++ b/connection.cpp @@ -223,7 +223,7 @@ void Connection::checkAndConnect(const QString& userId, void Connection::logout() { auto job = callApi<LogoutJob>(); - connect( job, &LogoutJob::success, [=] { + connect( job, &LogoutJob::success, this, [=] { stopSync(); emit loggedOut(); }); |