diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2017-11-30 03:36:29 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2017-12-07 12:33:55 +0900 |
commit | 6fc3c79c2b3ac318d3a140594ded28020f9a8afb (patch) | |
tree | d1940e407f68966cb7dbffb991ca06a2d728dbc1 /connection.cpp | |
parent | e88627976488b0b6eea6da3389eefb860980d661 (diff) | |
download | libquotient-6fc3c79c2b3ac318d3a140594ded28020f9a8afb.tar.gz libquotient-6fc3c79c2b3ac318d3a140594ded28020f9a8afb.zip |
Generated jobs: Apply naming convention to parameters
It's now camelCase everywhere, even if The Spec uses snake_case (it is
not consistent in that respect).
Diffstat (limited to 'connection.cpp')
-rw-r--r-- | connection.cpp | 4 |
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, [=] { |