Don't use deprecated torrent state "allocating"

Closes #13737.
This commit is contained in:
Chocobo1
2020-11-12 00:12:21 +08:00
committed by sledgehammer999
parent 3edaaa30c9
commit b6ab2abf3f
5 changed files with 0 additions and 16 deletions

View File

@@ -62,7 +62,6 @@ namespace BitTorrent
ForcedDownloading,
Downloading,
DownloadingMetadata,
Allocating,
StalledDownloading,
ForcedUploading,

View File

@@ -722,9 +722,6 @@ void TorrentHandleImpl::updateState()
if (m_nativeStatus.state == lt::torrent_status::checking_resume_data) {
m_state = TorrentState::CheckingResumeData;
}
else if (m_nativeStatus.state == lt::torrent_status::allocating) {
m_state = TorrentState::Allocating;
}
else if (isMoveInProgress()) {
m_state = TorrentState::Moving;
}