Browse Source

Properly handle "Append extension" option changing

adaptive-webui-19844
Vladimir Golovnev (Glassez) 4 years ago
parent
commit
acab62e345
No known key found for this signature in database
GPG Key ID: 52A2C7DEE2DFA6F7
  1. 4
      src/base/bittorrent/session.cpp

4
src/base/bittorrent/session.cpp

@ -593,11 +593,11 @@ void Session::setAppendExtensionEnabled(const bool enabled) @@ -593,11 +593,11 @@ void Session::setAppendExtensionEnabled(const bool enabled)
{
if (isAppendExtensionEnabled() != enabled)
{
m_isAppendExtensionEnabled = enabled;
// append or remove .!qB extension for incomplete files
for (TorrentHandleImpl *const torrent : asConst(m_torrents))
torrent->handleAppendExtensionToggled();
m_isAppendExtensionEnabled = enabled;
}
}

Loading…
Cancel
Save