1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-02-05 11:24:15 +00:00

- Forgot to consider allocating state in WebUI

This commit is contained in:
Christophe Dumez 2008-12-30 11:52:22 +00:00
parent c18103539c
commit f9bf485ed7
2 changed files with 3 additions and 0 deletions

View File

@ -63,6 +63,7 @@ void EventManager::modifiedTorrent(QTorrentHandle h)
case torrent_status::queued_for_checking: case torrent_status::queued_for_checking:
event["state"] = QVariant("checking"); event["state"] = QVariant("checking");
break; break;
case torrent_status::allocating:
case torrent_status::downloading: case torrent_status::downloading:
case torrent_status::downloading_metadata: case torrent_status::downloading_metadata:
if(h.download_payload_rate() > 0) if(h.download_payload_rate() > 0)

View File

@ -56,6 +56,8 @@ window.addEvent('domready', function(){
return '<img src="images/skin/stalled.png"/>'; return '<img src="images/skin/stalled.png"/>';
case 'queued': case 'queued':
return '<img src="images/skin/queued.png"/>'; return '<img src="images/skin/queued.png"/>';
default:
return '<img src="images/skin/stalled.png"/>';
} }
return ''; return '';
}; };