aboutsummaryrefslogtreecommitdiff
path: root/connection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'connection.cpp')
-rw-r--r--connection.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/connection.cpp b/connection.cpp
index 78ef9754..c29f09fe 100644
--- a/connection.cpp
+++ b/connection.cpp
@@ -165,8 +165,8 @@ void Connection::doConnectToServer(const QString& user, const QString& password,
deviceId, initialDeviceName);
connect(loginJob, &BaseJob::success, this,
[=] {
- d->connectWithToken(loginJob->user_id(), loginJob->access_token(),
- loginJob->device_id());
+ d->connectWithToken(loginJob->userId(), loginJob->accessToken(),
+ loginJob->deviceId());
});
connect(loginJob, &BaseJob::failure, this,
[=] {