mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-17 22:18:05 -06:00
Remove duplicate code
This commit is contained in:
@@ -2115,7 +2115,6 @@
|
|||||||
}
|
}
|
||||||
settings.set('max_ratio_enabled', $('max_ratio_checkbox').getProperty('checked'));
|
settings.set('max_ratio_enabled', $('max_ratio_checkbox').getProperty('checked'));
|
||||||
settings.set('max_ratio', max_ratio);
|
settings.set('max_ratio', max_ratio);
|
||||||
settings.set('max_ratio_act', $('max_ratio_act').getProperty('value').toInt());
|
|
||||||
|
|
||||||
let max_seeding_time = -1;
|
let max_seeding_time = -1;
|
||||||
if ($('max_seeding_time_checkbox').getProperty('checked')) {
|
if ($('max_seeding_time_checkbox').getProperty('checked')) {
|
||||||
|
|||||||
Reference in New Issue
Block a user