Merge pull request #8761 from thalieht/nullptr

Replace the zeroing of pointers with nullptr
This commit is contained in:
Vladimir Golovnev
2018-05-08 17:10:37 +03:00
committed by GitHub
47 changed files with 98 additions and 98 deletions

View File

@@ -1639,7 +1639,7 @@ void TorrentHandle::handleSaveResumeDataFailedAlert(libtorrent::save_resume_data
// if torrent has no metadata we should save dummy fastresume data
// containing Magnet URI and qBittorrent own resume data only
if (p->error.value() == libt::errors::no_metadata)
handleSaveResumeDataAlert(0);
handleSaveResumeDataAlert(nullptr);
else
m_session->handleTorrentResumeDataFailed(this);
}