- Started to work on queueuing

This commit is contained in:
Christophe Dumez 2008-07-14 19:20:18 +00:00
parent 9f6e28b741
commit d29cc3325b
63 changed files with 8078 additions and 7638 deletions

View file

@ -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;