From 74884d57ecac973a27ae829a83a1dfb06ef4da97 Mon Sep 17 00:00:00 2001 From: "Vladimir Golovnev (Glassez)" Date: Sun, 1 Mar 2020 08:08:01 +0300 Subject: [PATCH] Let libtorrent decide whether to resume a torrent --- src/base/bittorrent/torrenthandle.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/base/bittorrent/torrenthandle.cpp b/src/base/bittorrent/torrenthandle.cpp index ebde146af..0b3d89fe2 100644 --- a/src/base/bittorrent/torrenthandle.cpp +++ b/src/base/bittorrent/torrenthandle.cpp @@ -1497,7 +1497,8 @@ void TorrentHandle::resume_impl(bool forced) } setAutoManaged(!forced); - m_nativeHandle.resume(); + if (forced) + m_nativeHandle.resume(); } void TorrentHandle::moveStorage(const QString &newPath, bool overwrite)