mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2025-01-31 01:29:41 +01:00
Settings: Fix loading subsonic auth method setting
This commit is contained in:
parent
fe018ff8f7
commit
0e6dbaf71a
@ -81,7 +81,7 @@ void SubsonicSettingsPage::Load() {
|
|||||||
ui_->checkbox_download_album_covers->setChecked(s.value("downloadalbumcovers", true).toBool());
|
ui_->checkbox_download_album_covers->setChecked(s.value("downloadalbumcovers", true).toBool());
|
||||||
ui_->checkbox_server_scrobbling->setChecked(s.value("serversidescrobbling", false).toBool());
|
ui_->checkbox_server_scrobbling->setChecked(s.value("serversidescrobbling", false).toBool());
|
||||||
|
|
||||||
AuthMethod auth_method = static_cast<AuthMethod>(s.value("auth_method", AuthMethod_MD5).toInt());
|
AuthMethod auth_method = static_cast<AuthMethod>(s.value("authmethod", AuthMethod_MD5).toInt());
|
||||||
switch(auth_method) {
|
switch(auth_method) {
|
||||||
case AuthMethod_Hex:
|
case AuthMethod_Hex:
|
||||||
ui_->auth_method_hex->setChecked(true);
|
ui_->auth_method_hex->setChecked(true);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user