Merge pull request #4955 from eduardosm/esm-branch1
Fix "menu_previousmode" setting not loading when opening the settings window
This commit is contained in:
commit
85858d7bbe
@ -57,8 +57,8 @@ int main(int argc, char** argv) {
|
||||
|
||||
QSslSocket::addDefaultCaCertificates(
|
||||
QSslCertificate::fromPath(":/certs/godaddy-root.pem", QSsl::Pem));
|
||||
QSslSocket::addDefaultCaCertificates(
|
||||
QSslCertificate::fromPath(":/certs/Equifax_Secure_Certificate_Authority.pem", QSsl::Pem));
|
||||
QSslSocket::addDefaultCaCertificates(QSslCertificate::fromPath(
|
||||
":/certs/Equifax_Secure_Certificate_Authority.pem", QSsl::Pem));
|
||||
|
||||
TagReaderWorker worker(&socket);
|
||||
|
||||
|
@ -109,7 +109,6 @@ void Player::ReloadSettings() {
|
||||
|
||||
s.endGroup();
|
||||
|
||||
|
||||
engine_->ReloadSettings();
|
||||
}
|
||||
|
||||
|
@ -130,6 +130,8 @@ void BehaviourSettingsPage::Load() {
|
||||
s.endGroup();
|
||||
|
||||
s.beginGroup(Player::kSettingsGroup);
|
||||
ui_->menu_previousmode->setCurrentIndex(ui_->menu_previousmode->findData(
|
||||
s.value("menu_previousmode", Player::PreviousBehaviour_DontRestart).toInt()));
|
||||
ui_->seek_step_sec->setValue(s.value("seek_step_sec", 10).toInt());
|
||||
s.endGroup();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user