mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-28 15:34:16 +00:00
Properly handle "Append extension" option changing
This commit is contained in:
parent
0e8feed2f2
commit
acab62e345
@ -593,11 +593,11 @@ void Session::setAppendExtensionEnabled(const bool enabled)
|
|||||||
{
|
{
|
||||||
if (isAppendExtensionEnabled() != enabled)
|
if (isAppendExtensionEnabled() != enabled)
|
||||||
{
|
{
|
||||||
|
m_isAppendExtensionEnabled = enabled;
|
||||||
|
|
||||||
// append or remove .!qB extension for incomplete files
|
// append or remove .!qB extension for incomplete files
|
||||||
for (TorrentHandleImpl *const torrent : asConst(m_torrents))
|
for (TorrentHandleImpl *const torrent : asConst(m_torrents))
|
||||||
torrent->handleAppendExtensionToggled();
|
torrent->handleAppendExtensionToggled();
|
||||||
|
|
||||||
m_isAppendExtensionEnabled = enabled;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user