mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-15 01:33:07 -07:00
- Removed some debug
- Bug fix when applying preferences (queueing)
This commit is contained in:
parent
5fef86ec18
commit
4be0cbd2e4
2 changed files with 8 additions and 8 deletions
|
@ -1113,6 +1113,9 @@ void GUI::configureSession(bool deleteOptions) {
|
|||
// Queueing System
|
||||
if(options->isQueueingSystemEnabled()) {
|
||||
if(!BTSession->isQueueingEnabled()) {
|
||||
downloadingTorrentTab->hidePriorityColumn(false);
|
||||
finishedTorrentTab->hidePriorityColumn(false);
|
||||
}
|
||||
int max_torrents = options->getMaxActiveTorrents();
|
||||
int max_downloads = options->getMaxActiveDownloads();
|
||||
if(max_torrents < max_downloads)
|
||||
|
@ -1120,8 +1123,6 @@ void GUI::configureSession(bool deleteOptions) {
|
|||
BTSession->setMaxActiveTorrents(max_torrents);
|
||||
BTSession->setMaxActiveDownloads(max_downloads);
|
||||
BTSession->setQueueingEnabled(true);
|
||||
downloadingTorrentTab->hidePriorityColumn(false);
|
||||
finishedTorrentTab->hidePriorityColumn(false);
|
||||
}
|
||||
} else {
|
||||
if(BTSession->isQueueingEnabled()) {
|
||||
|
|
|
@ -345,7 +345,6 @@ int bittorrent::getDlTorrentPriority(QString hash) const {
|
|||
|
||||
int bittorrent::getUpTorrentPriority(QString hash) const {
|
||||
Q_ASSERT(uploadQueue != 0);
|
||||
qDebug("priority: %d", uploadQueue->indexOf(hash));
|
||||
return uploadQueue->indexOf(hash);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue