mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 15:07:22 -06:00
- Forgot to consider allocating state in WebUI
This commit is contained in:
@@ -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 '';
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user