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:
sledgehammer999 2018-04-09 18:19:33 +03:00
parent 5df42420cb
commit 97b8e02bf5
No known key found for this signature in database
GPG key ID: 6E4A2D025B7CC9A2
6 changed files with 24 additions and 3 deletions

View file

@ -272,6 +272,9 @@ QString TransferListDelegate::getStatusString(const BitTorrent::TorrentState sta
case BitTorrent::TorrentState::PausedUploading:
str = tr("Completed");
break;
case BitTorrent::TorrentState::Moving:
str = tr("Moving", "Torrent local data are being moved/relocated");
break;
case BitTorrent::TorrentState::MissingFiles:
str = tr("Missing Files");
break;