Browse Source

- Fixed assert HIT in eventmanager due to queueing system

adaptive-webui-19844
Christophe Dumez 16 years ago
parent
commit
cdd1f9b86c
  1. 2
      src/eventmanager.cpp

2
src/eventmanager.cpp

@ -101,7 +101,7 @@ void EventManager::modifiedTorrent(QTorrentHandle h) @@ -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…
Cancel
Save