|
|
@ -1077,6 +1077,14 @@ Use ';' to split multiple entries. Can use wildcard '*'.)QBT_TR[CONTEXT=OptionsD |
|
|
|
<input type="checkbox" id="embeddedTrackerPortForwarding" /> |
|
|
|
<input type="checkbox" id="embeddedTrackerPortForwarding" /> |
|
|
|
</td> |
|
|
|
</td> |
|
|
|
</tr> |
|
|
|
</tr> |
|
|
|
|
|
|
|
<tr> |
|
|
|
|
|
|
|
<td> |
|
|
|
|
|
|
|
<label for="markOfTheWeb">QBT_TR(Enable Mark-of-the-Web (MOTW) for downloaded files (require macOS or Windows):)QBT_TR[CONTEXT=OptionsDialog]</label> |
|
|
|
|
|
|
|
</td> |
|
|
|
|
|
|
|
<td> |
|
|
|
|
|
|
|
<input type="checkbox" id="markOfTheWeb" /> |
|
|
|
|
|
|
|
</td> |
|
|
|
|
|
|
|
</tr> |
|
|
|
<tr> |
|
|
|
<tr> |
|
|
|
<td> |
|
|
|
<td> |
|
|
|
<label for="pythonExecutablePath">QBT_TR(Python executable path (may require restart):)QBT_TR[CONTEXT=OptionsDialog]</label> |
|
|
|
<label for="pythonExecutablePath">QBT_TR(Python executable path (may require restart):)QBT_TR[CONTEXT=OptionsDialog]</label> |
|
|
@ -2320,6 +2328,7 @@ Use ';' to split multiple entries. Can use wildcard '*'.)QBT_TR[CONTEXT=OptionsD |
|
|
|
$('enableEmbeddedTracker').setProperty('checked', pref.enable_embedded_tracker); |
|
|
|
$('enableEmbeddedTracker').setProperty('checked', pref.enable_embedded_tracker); |
|
|
|
$('embeddedTrackerPort').setProperty('value', pref.embedded_tracker_port); |
|
|
|
$('embeddedTrackerPort').setProperty('value', pref.embedded_tracker_port); |
|
|
|
$('embeddedTrackerPortForwarding').setProperty('checked', pref.embedded_tracker_port_forwarding); |
|
|
|
$('embeddedTrackerPortForwarding').setProperty('checked', pref.embedded_tracker_port_forwarding); |
|
|
|
|
|
|
|
$('markOfTheWeb').setProperty('checked', pref.mark_of_the_web); |
|
|
|
$('pythonExecutablePath').setProperty('value', pref.python_executable_path); |
|
|
|
$('pythonExecutablePath').setProperty('value', pref.python_executable_path); |
|
|
|
$('uploadSlotsBehavior').setProperty('value', pref.upload_slots_behavior); |
|
|
|
$('uploadSlotsBehavior').setProperty('value', pref.upload_slots_behavior); |
|
|
|
$('uploadChokingAlgorithm').setProperty('value', pref.upload_choking_algorithm); |
|
|
|
$('uploadChokingAlgorithm').setProperty('value', pref.upload_choking_algorithm); |
|
|
@ -2764,6 +2773,7 @@ Use ';' to split multiple entries. Can use wildcard '*'.)QBT_TR[CONTEXT=OptionsD |
|
|
|
settings.set('enable_embedded_tracker', $('enableEmbeddedTracker').getProperty('checked')); |
|
|
|
settings.set('enable_embedded_tracker', $('enableEmbeddedTracker').getProperty('checked')); |
|
|
|
settings.set('embedded_tracker_port', $('embeddedTrackerPort').getProperty('value')); |
|
|
|
settings.set('embedded_tracker_port', $('embeddedTrackerPort').getProperty('value')); |
|
|
|
settings.set('embedded_tracker_port_forwarding', $('embeddedTrackerPortForwarding').getProperty('checked')); |
|
|
|
settings.set('embedded_tracker_port_forwarding', $('embeddedTrackerPortForwarding').getProperty('checked')); |
|
|
|
|
|
|
|
settings.set('mark_of_the_web', $('markOfTheWeb').getProperty('checked')); |
|
|
|
settings.set('python_executable_path', $('pythonExecutablePath').getProperty('value')); |
|
|
|
settings.set('python_executable_path', $('pythonExecutablePath').getProperty('value')); |
|
|
|
settings.set('upload_slots_behavior', $('uploadSlotsBehavior').getProperty('value')); |
|
|
|
settings.set('upload_slots_behavior', $('uploadSlotsBehavior').getProperty('value')); |
|
|
|
settings.set('upload_choking_algorithm', $('uploadChokingAlgorithm').getProperty('value')); |
|
|
|
settings.set('upload_choking_algorithm', $('uploadChokingAlgorithm').getProperty('value')); |
|
|
|