QobuzService: Make DecodeAppSecret const
This commit is contained in:
@@ -258,7 +258,7 @@ void QobuzService::ReloadSettings() {
|
||||
|
||||
}
|
||||
|
||||
QString QobuzService::DecodeAppSecret(const QString &app_secret_base64) {
|
||||
QString QobuzService::DecodeAppSecret(const QString &app_secret_base64) const {
|
||||
|
||||
const QByteArray appid = app_id().toUtf8();
|
||||
const QByteArray app_secret_binary = QByteArray::fromBase64(app_secret_base64.toUtf8());
|
||||
|
||||
@@ -142,7 +142,7 @@ class QobuzService : public InternetService {
|
||||
using Param = QPair<QString, QString>;
|
||||
using ParamList = QList<Param>;
|
||||
|
||||
QString DecodeAppSecret(const QString &app_secret_encoded);
|
||||
QString DecodeAppSecret(const QString &app_secret_encoded) const;
|
||||
void SendSearch();
|
||||
void LoginError(const QString &error = QString(), const QVariant &debug = QVariant());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user