Subsonic: Fix auth method for URL handler

This commit is contained in:
Jonas Kvinge
2021-09-21 01:27:55 +02:00
parent 3137652280
commit f4f005cdd6
4 changed files with 38 additions and 19 deletions

View File

@@ -42,9 +42,12 @@ class SubsonicUrlHandler : public UrlHandler {
explicit SubsonicUrlHandler(Application *app, SubsonicService *service);
QString scheme() const override { return service_->url_scheme(); }
QString client_name() const { return service_->client_name(); }
QString api_version() const { return service_->api_version(); }
QUrl server_url() const { return service_->server_url(); }
QString username() const { return service_->username(); }
QString password() const { return service_->password(); }
SubsonicSettingsPage::AuthMethod auth_method() const { return service_->auth_method(); }
LoadResult StartLoading(const QUrl &url) override;