- a lot of fixes concerning the new queueing system

This commit is contained in:
Christophe Dumez 2008-07-17 21:12:10 +00:00
parent 88ea548eaf
commit 4fe7fd537d
2 changed files with 27 additions and 19 deletions

View file

@ -1200,7 +1200,7 @@ void GUI::togglePausedState(QString hash) {
if(tabs->currentIndex() == 1)
inDownloadList = false;
QTorrentHandle h = BTSession->getTorrentHandle(hash);
if(BTSession->isPaused(hash)) {
if(BTSession->isPaused(hash) && !(BTSession->isQueueingEnabled() && (BTSession->isDownloadQueued(hash) || BTSession->isUploadQueued(hash)))) {
BTSession->resumeTorrent(hash);
downloadingTorrentTab->setInfoBar(tr("'%1' resumed.", "e.g: xxx.avi resumed.").arg(h.name()));
if(inDownloadList) {