mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-14 02:27:09 -07: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:
parent
768262ae64
commit
565ffa7d1e
6 changed files with 24 additions and 3 deletions
|
@ -76,6 +76,8 @@ namespace
|
|||
#endif
|
||||
case BitTorrent::TorrentState::CheckingResumeData:
|
||||
return QLatin1String("checkingResumeData");
|
||||
case BitTorrent::TorrentState::Moving:
|
||||
return QLatin1String("moving");
|
||||
default:
|
||||
return QLatin1String("unknown");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue