From a39ebe7af964a9c311bf213ba84a1aa5ce43d381 Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Wed, 20 Dec 2017 19:43:17 +0900 Subject: Connection::accessToken - return QByteArray instead of QString Because that's what it really is. --- connection.cpp | 2 +- connection.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/connection.cpp b/connection.cpp index 9169480e..d72e10ed 100644 --- a/connection.cpp +++ b/connection.cpp @@ -385,7 +385,7 @@ QString Connection::token() const return accessToken(); } -QString Connection::accessToken() const +QByteArray Connection::accessToken() const { return d->data->accessToken(); } diff --git a/connection.h b/connection.h index ecebb2e7..eccde170 100644 --- a/connection.h +++ b/connection.h @@ -86,7 +86,7 @@ namespace QMatrixClient Q_INVOKABLE QString deviceId() const; /** @deprecated Use accessToken() instead. */ Q_INVOKABLE QString token() const; - Q_INVOKABLE QString accessToken() const; + Q_INVOKABLE QByteArray accessToken() const; Q_INVOKABLE SyncJob* syncJob() const; Q_INVOKABLE int millisToReconnect() const; -- cgit v1.2.3