mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-03-10 04:11:16 +00:00
- Fixed assert HIT in eventmanager due to queueing system
This commit is contained in:
parent
139360cf76
commit
cdd1f9b86c
@ -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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user