1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-03-10 12:21:12 +00:00

- Fixed assert HIT in eventmanager due to queueing system

This commit is contained in:
Christophe Dumez 2008-09-27 09:58:28 +00:00
parent 139360cf76
commit cdd1f9b86c

View File

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