Add user data parameter for torrent removal callback (#4009)

This commit is contained in:
Mike Gelfand
2022-10-23 17:51:35 +01:00
committed by GitHub
parent f0a0b855c6
commit 70f623f32b
9 changed files with 24 additions and 17 deletions

View File

@@ -99,7 +99,7 @@ void OptionsDialog::Impl::removeOldTorrent()
if (tor_ != nullptr)
{
file_list_->clear();
tr_torrentRemove(tor_, false, nullptr);
tr_torrentRemove(tor_, false, nullptr, nullptr);
tor_ = nullptr;
}
}