From cdd1f9b86c872a507b393ce027832c56573edd0a Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Sat, 27 Sep 2008 09:58:28 +0000 Subject: [PATCH] - Fixed assert HIT in eventmanager due to queueing system --- src/eventmanager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/eventmanager.cpp b/src/eventmanager.cpp index e3c5aa96e..ff758e40f 100644 --- a/src/eventmanager.cpp +++ b/src/eventmanager.cpp @@ -101,7 +101,7 @@ void EventManager::modifiedTorrent(QTorrentHandle h) QVariant v; if(h.is_paused()) { - if(BTSession->isDownloadQueued(hash) || BTSession->isUploadQueued(hash)) + if(BTSession->isQueueingEnabled() && (BTSession->isDownloadQueued(hash) || BTSession->isUploadQueued(hash))) v = QVariant("queued"); else v = QVariant("paused");