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:
parent
139360cf76
commit
cdd1f9b86c
@ -101,7 +101,7 @@ void EventManager::modifiedTorrent(QTorrentHandle h)
|
|||||||
QVariant v;
|
QVariant v;
|
||||||
|
|
||||||
if(h.is_paused()) {
|
if(h.is_paused()) {
|
||||||
if(BTSession->isDownloadQueued(hash) || BTSession->isUploadQueued(hash))
|
if(BTSession->isQueueingEnabled() && (BTSession->isDownloadQueued(hash) || BTSession->isUploadQueued(hash)))
|
||||||
v = QVariant("queued");
|
v = QVariant("queued");
|
||||||
else
|
else
|
||||||
v = QVariant("paused");
|
v = QVariant("paused");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user