diff --git a/src/eventmanager.cpp b/src/eventmanager.cpp index 8b4f60088..4e29546bd 100644 --- a/src/eventmanager.cpp +++ b/src/eventmanager.cpp @@ -63,6 +63,7 @@ void EventManager::modifiedTorrent(QTorrentHandle h) case torrent_status::queued_for_checking: event["state"] = QVariant("checking"); break; + case torrent_status::allocating: case torrent_status::downloading: case torrent_status::downloading_metadata: if(h.download_payload_rate() > 0) diff --git a/src/webui/scripts/client.js b/src/webui/scripts/client.js index 17dc42f0c..78921db74 100644 --- a/src/webui/scripts/client.js +++ b/src/webui/scripts/client.js @@ -56,6 +56,8 @@ window.addEvent('domready', function(){ return ''; case 'queued': return ''; + default: + return ''; } return ''; };