mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-19 12:59:56 -07:00
FEATURE: Several files can now be disabled at once (closes #598365)
This commit is contained in:
parent
df39e46c84
commit
c01f7102e6
5 changed files with 21 additions and 0 deletions
|
@ -13,6 +13,7 @@
|
||||||
- FEATURE: Add Check/Uncheck all feature in Web UI
|
- FEATURE: Add Check/Uncheck all feature in Web UI
|
||||||
- FEATURE: Search engine can now be disabled
|
- FEATURE: Search engine can now be disabled
|
||||||
- FEATURE: Torrents can be automatically paused once they reach a given ratio
|
- FEATURE: Torrents can be automatically paused once they reach a given ratio
|
||||||
|
- FEATURE: Several files can now be disabled at once
|
||||||
- BUGFIX: Hide seeding torrents files priorities in Web UI
|
- BUGFIX: Hide seeding torrents files priorities in Web UI
|
||||||
- BUGFIX: The user can disable permanently recursive torrent download
|
- BUGFIX: The user can disable permanently recursive torrent download
|
||||||
- COSMETIC: Display peers country name in tooltip
|
- COSMETIC: Display peers country name in tooltip
|
||||||
|
|
|
@ -545,6 +545,7 @@ void PropertiesWidget::displayFilesListMenu(const QPoint&){
|
||||||
}
|
}
|
||||||
QMenu subMenu;
|
QMenu subMenu;
|
||||||
subMenu.setTitle(tr("Priority"));
|
subMenu.setTitle(tr("Priority"));
|
||||||
|
subMenu.addAction(actionNot_downloaded);
|
||||||
subMenu.addAction(actionNormal);
|
subMenu.addAction(actionNormal);
|
||||||
subMenu.addAction(actionHigh);
|
subMenu.addAction(actionHigh);
|
||||||
subMenu.addAction(actionMaximum);
|
subMenu.addAction(actionMaximum);
|
||||||
|
@ -561,6 +562,10 @@ void PropertiesWidget::displayFilesListMenu(const QPoint&){
|
||||||
} else {
|
} else {
|
||||||
if(act == actionMaximum) {
|
if(act == actionMaximum) {
|
||||||
prio = MAXIMUM;
|
prio = MAXIMUM;
|
||||||
|
} else {
|
||||||
|
if(act == actionNot_downloaded) {
|
||||||
|
prio = IGNORED;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
qDebug("Setting files priority");
|
qDebug("Setting files priority");
|
||||||
|
|
|
@ -288,6 +288,7 @@ torrentAdditionDialog::torrentAdditionDialog(GUI *parent, Bittorrent* _BTSession
|
||||||
}
|
}
|
||||||
QMenu subMenu;
|
QMenu subMenu;
|
||||||
subMenu.setTitle(tr("Priority"));
|
subMenu.setTitle(tr("Priority"));
|
||||||
|
subMenu.addAction(actionNot_downloaded);
|
||||||
subMenu.addAction(actionNormal);
|
subMenu.addAction(actionNormal);
|
||||||
subMenu.addAction(actionHigh);
|
subMenu.addAction(actionHigh);
|
||||||
subMenu.addAction(actionMaximum);
|
subMenu.addAction(actionMaximum);
|
||||||
|
@ -304,6 +305,10 @@ torrentAdditionDialog::torrentAdditionDialog(GUI *parent, Bittorrent* _BTSession
|
||||||
} else {
|
} else {
|
||||||
if(act == actionMaximum) {
|
if(act == actionMaximum) {
|
||||||
prio = MAXIMUM;
|
prio = MAXIMUM;
|
||||||
|
} else {
|
||||||
|
if(act == actionNot_downloaded) {
|
||||||
|
prio = IGNORED;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
qDebug("Setting files priority");
|
qDebug("Setting files priority");
|
||||||
|
|
|
@ -957,6 +957,11 @@ p, li { white-space: pre-wrap; }
|
||||||
<string>Maximum</string>
|
<string>Maximum</string>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
|
<action name="actionNot_downloaded">
|
||||||
|
<property name="text">
|
||||||
|
<string>Not downloaded</string>
|
||||||
|
</property>
|
||||||
|
</action>
|
||||||
</widget>
|
</widget>
|
||||||
<resources>
|
<resources>
|
||||||
<include location="../icons.qrc"/>
|
<include location="../icons.qrc"/>
|
||||||
|
|
|
@ -327,6 +327,11 @@
|
||||||
<string>Maximum</string>
|
<string>Maximum</string>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
|
<action name="actionNot_downloaded">
|
||||||
|
<property name="text">
|
||||||
|
<string>Not downloaded</string>
|
||||||
|
</property>
|
||||||
|
</action>
|
||||||
</widget>
|
</widget>
|
||||||
<resources/>
|
<resources/>
|
||||||
<connections/>
|
<connections/>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue