1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-24 05:25:37 +00:00

Merge pull request #12095 from glassez/resume-torrent

Let libtorrent decide whether to resume a torrent
This commit is contained in:
Vladimir Golovnev 2020-03-01 19:54:16 +03:00 committed by GitHub
commit b519ece18b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1498,6 +1498,7 @@ void TorrentHandle::resume_impl(bool forced)
} }
setAutoManaged(!forced); setAutoManaged(!forced);
if (forced)
m_nativeHandle.resume(); m_nativeHandle.resume();
} }