mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-14 02:27:09 -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
|
@ -288,6 +288,7 @@ torrentAdditionDialog::torrentAdditionDialog(GUI *parent, Bittorrent* _BTSession
|
|||
}
|
||||
QMenu subMenu;
|
||||
subMenu.setTitle(tr("Priority"));
|
||||
subMenu.addAction(actionNot_downloaded);
|
||||
subMenu.addAction(actionNormal);
|
||||
subMenu.addAction(actionHigh);
|
||||
subMenu.addAction(actionMaximum);
|
||||
|
@ -304,6 +305,10 @@ torrentAdditionDialog::torrentAdditionDialog(GUI *parent, Bittorrent* _BTSession
|
|||
} else {
|
||||
if(act == actionMaximum) {
|
||||
prio = MAXIMUM;
|
||||
} else {
|
||||
if(act == actionNot_downloaded) {
|
||||
prio = IGNORED;
|
||||
}
|
||||
}
|
||||
}
|
||||
qDebug("Setting files priority");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue