mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-20 23:47:23 -06:00
Inhibit sleep regardless of activity
"Active torrents" is a somewhat unintuitive concept as a basis for preventing sleep, as torrents can become active or inactive on the network at any time. This brings some predictability to the inhibit sleep option, and will inhibit sleep as long as there are unpaused downloads or uploads, regardless of network activity. Closes #1696, #4592, #4655, #7019, #7159, #7452
This commit is contained in:
@@ -479,9 +479,16 @@
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_16">
|
||||
<item>
|
||||
<widget class="QCheckBox" name="checkPreventFromSuspend">
|
||||
<widget class="QCheckBox" name="checkPreventFromSuspendWhenDownloading">
|
||||
<property name="text">
|
||||
<string>Inhibit system sleep when torrents are active</string>
|
||||
<string>Inhibit system sleep when torrents are downloading</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="checkPreventFromSuspendWhenSeeding">
|
||||
<property name="text">
|
||||
<string>Inhibit system sleep when torrents are seeding</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@@ -3369,7 +3376,8 @@ Use ';' to split multiple entries. Can use wildcard '*'.</string>
|
||||
<tabstop>comboTrayIcon</tabstop>
|
||||
<tabstop>checkAssociateTorrents</tabstop>
|
||||
<tabstop>checkAssociateMagnetLinks</tabstop>
|
||||
<tabstop>checkPreventFromSuspend</tabstop>
|
||||
<tabstop>checkPreventFromSuspendWhenDownloading</tabstop>
|
||||
<tabstop>checkPreventFromSuspendWhenSeeding</tabstop>
|
||||
<tabstop>checkAdditionDialog</tabstop>
|
||||
<tabstop>checkAdditionDialogFront</tabstop>
|
||||
<tabstop>checkPreallocateAll</tabstop>
|
||||
|
||||
Reference in New Issue
Block a user