mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-23 21:14:33 +00:00
Fix regression on resuming torrents without metadata
This commit is contained in:
parent
8aa2789ded
commit
d9416299f4
@ -224,7 +224,7 @@ TorrentHandle::TorrentHandle(Session *session, const libtorrent::torrent_handle
|
|||||||
if (params.paused) {
|
if (params.paused) {
|
||||||
m_startupState = Started;
|
m_startupState = Started;
|
||||||
}
|
}
|
||||||
else if (!params.restored) {
|
else if (!params.restored || !hasMetadata()) {
|
||||||
// Resume torrent because it was added in "resumed" state
|
// Resume torrent because it was added in "resumed" state
|
||||||
// but it's actually paused during initialization
|
// but it's actually paused during initialization
|
||||||
m_startupState = Starting;
|
m_startupState = Starting;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user