mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-23 13:04:23 +00:00
parent
39c61327b5
commit
8568f7a0fb
@ -570,8 +570,10 @@ void AppController::setPreferencesAction()
|
|||||||
if (hasKey("max_ratio_act"))
|
if (hasKey("max_ratio_act"))
|
||||||
session->setMaxRatioAction(static_cast<MaxRatioAction>(it.value().toInt()));
|
session->setMaxRatioAction(static_cast<MaxRatioAction>(it.value().toInt()));
|
||||||
// Add trackers
|
// Add trackers
|
||||||
session->setAddTrackersEnabled(m["add_trackers_enabled"].toBool());
|
if (hasKey("add_trackers_enabled"))
|
||||||
session->setAdditionalTrackers(m["add_trackers"].toString());
|
session->setAddTrackersEnabled(it.value().toBool());
|
||||||
|
if (hasKey("add_trackers"))
|
||||||
|
session->setAdditionalTrackers(it.value().toString());
|
||||||
|
|
||||||
// Web UI
|
// Web UI
|
||||||
// Language
|
// Language
|
||||||
|
Loading…
x
Reference in New Issue
Block a user