mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-14 01:03:08 -07:00
- Started to work on queueuing
This commit is contained in:
parent
9f6e28b741
commit
d29cc3325b
63 changed files with 8078 additions and 7638 deletions
13
src/GUI.cpp
13
src/GUI.cpp
|
@ -1110,6 +1110,19 @@ void GUI::configureSession(bool deleteOptions) {
|
|||
} else {
|
||||
displayRSSTab(false);
|
||||
}
|
||||
// Queueing System
|
||||
if(options->isQueueingSystemEnabled()) {
|
||||
if(!BTSession->isDlQueueingEnabled()) {
|
||||
BTSession->setMaxActiveDlTorrents(options->getMaxActiveDownloads());
|
||||
BTSession->setDlQueueingEnabled(true);
|
||||
downloadingTorrentTab->hidePriorityColumn(false);
|
||||
}
|
||||
} else {
|
||||
if(BTSession->isDlQueueingEnabled()) {
|
||||
BTSession->setDlQueueingEnabled(false);
|
||||
downloadingTorrentTab->hidePriorityColumn(true);
|
||||
}
|
||||
}
|
||||
// Clean up
|
||||
if(deleteOptions) {
|
||||
delete options;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue