mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-29 05:48:47 +03:00
Use better method to set bit
This commit is contained in:
parent
998b08f5d8
commit
b335114219
1 changed files with 1 additions and 1 deletions
|
@ -2055,7 +2055,7 @@ void TorrentImpl::handleFileCompletedAlert(const lt::file_completed_alert *p)
|
|||
const int fileIndex = m_indexMap.value(p->index, -1);
|
||||
Q_ASSERT(fileIndex >= 0);
|
||||
|
||||
m_completedFiles[fileIndex] = true;
|
||||
m_completedFiles.setBit(fileIndex);
|
||||
|
||||
if (m_session->isAppendExtensionEnabled())
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue