mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 14:38:04 -06:00
- Started to work on queueuing
This commit is contained in:
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;
|
||||
|
||||
Reference in New Issue
Block a user