mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
Fix prefjson::setPreferences() doesn't actually save.
This commit is contained in:
parent
8e1698d563
commit
2707f5205f
37 changed files with 1972 additions and 1763 deletions
|
@ -333,6 +333,6 @@ void prefjson::setPreferences(const QString& json)
|
|||
pref->setDynDNSPassword(m["dyndns_password"].toString());
|
||||
if (m.contains("dyndns_domain"))
|
||||
pref->setDynDomainName(m["dyndns_domain"].toString());
|
||||
// Reload preferences
|
||||
QBtSession::instance()->configureSession();
|
||||
// Save preferences
|
||||
pref->save();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue