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:
parent
c18103539c
commit
f9bf485ed7
@ -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)
|
||||
|
@ -56,6 +56,8 @@ window.addEvent('domready', function(){
|
||||
return '<img src="images/skin/stalled.png"/>';
|
||||
case 'queued':
|
||||
return '<img src="images/skin/queued.png"/>';
|
||||
default:
|
||||
return '<img src="images/skin/stalled.png"/>';
|
||||
}
|
||||
return '';
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user