mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-17 14:08:03 -06:00
Fix prefjson::setPreferences() doesn't actually save.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user