Browse Source

- Fix little problem in evenmanager causing this output: "no status, should not happen!!!"

adaptive-webui-19844
Christophe Dumez 15 years ago
parent
commit
ff2fef0dc1
  1. 3
      src/eventmanager.cpp

3
src/eventmanager.cpp

@ -69,11 +69,12 @@ void EventManager::modifiedTorrent(QTorrentHandle h) @@ -69,11 +69,12 @@ void EventManager::modifiedTorrent(QTorrentHandle h)
case torrent_status::seeding:
event["state"] = QVariant("seeding");
break;
case torrent_status::allocating:
case torrent_status::checking_files:
case torrent_status::queued_for_checking:
case torrent_status::checking_resume_data:
event["state"] = QVariant("checking");
break;
case torrent_status::allocating:
case torrent_status::downloading:
case torrent_status::downloading_metadata:
if(h.download_payload_rate() > 0)

Loading…
Cancel
Save