mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 06:28:03 -06:00
Add 'Moving' state for torrents being relocated/moved
This is another indication to the user that something is happening behind the scenes. Uses the same icon/color as "Checking" status. Torrents in the `Moving` state are considered as "Active". This should prevent accidental program exit from the user and inhibit system sleep.
This commit is contained in:
@@ -814,6 +814,7 @@ var TorrentsTable = new Class({
|
||||
case "checkingUP":
|
||||
case "queuedForChecking":
|
||||
case "checkingResumeData":
|
||||
case "moving":
|
||||
state = "checking";
|
||||
break;
|
||||
case "unknown":
|
||||
@@ -887,6 +888,9 @@ var TorrentsTable = new Class({
|
||||
case "pausedUP":
|
||||
status = "Completed";
|
||||
break;
|
||||
case "moving":
|
||||
status = "Moving";
|
||||
break;
|
||||
case "missingFiles":
|
||||
status = "Missing Files";
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user