mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-24 01:08:06 -06:00
Always save info dict when saving fastresume
Otherwise torrents loaded from fastresume won't have it and needs to redownload it from elsewhere and slowing down the startup process. This is also required for the future where we will drop loading the `info` dict from .torrent files.
This commit is contained in:
@@ -508,7 +508,7 @@ bool TorrentHandle::needSaveResumeData() const
|
||||
|
||||
void TorrentHandle::saveResumeData()
|
||||
{
|
||||
m_nativeHandle.save_resume_data();
|
||||
m_nativeHandle.save_resume_data(lt::torrent_handle::save_info_dict);
|
||||
m_session->handleTorrentSaveResumeDataRequested(this);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user