mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
- Fixed assert HIT in eventmanager due to queueing system
This commit is contained in:
parent
139360cf76
commit
cdd1f9b86c
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue