mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-19 21:03:30 -07:00
Remove legacy/unused torrent property
This commit is contained in:
parent
dc3d23c045
commit
b77568839d
3 changed files with 1 additions and 7 deletions
|
@ -124,7 +124,6 @@ TorrentHandleImpl::TorrentHandleImpl(Session *session, const lt::torrent_handle
|
|||
, m_ratioLimit(params.ratioLimit)
|
||||
, m_seedingTimeLimit(params.seedingTimeLimit)
|
||||
, m_hasSeedStatus(params.hasSeedStatus)
|
||||
, m_tempPathDisabled(params.disableTempPath)
|
||||
, m_hasRootFolder(params.hasRootFolder)
|
||||
, m_useAutoTMM(params.savePath.isEmpty())
|
||||
, m_ltAddTorrentParams(params.ltAddTorrentParams)
|
||||
|
@ -1518,7 +1517,6 @@ void TorrentHandleImpl::handleSaveResumeDataAlert(const lt::save_resume_data_ale
|
|||
resumeData["qBt-tags"] = setToEntryList(m_tags);
|
||||
resumeData["qBt-name"] = m_name.toStdString();
|
||||
resumeData["qBt-seedStatus"] = m_hasSeedStatus;
|
||||
resumeData["qBt-tempPathDisabled"] = m_tempPathDisabled;
|
||||
resumeData["qBt-hasRootFolder"] = m_hasRootFolder;
|
||||
|
||||
m_session->handleTorrentResumeDataReady(this, resumeDataPtr);
|
||||
|
@ -1815,7 +1813,7 @@ bool TorrentHandleImpl::isMoveInProgress() const
|
|||
|
||||
bool TorrentHandleImpl::useTempPath() const
|
||||
{
|
||||
return !m_tempPathDisabled && m_session->isTempPathEnabled() && !(isSeed() || m_hasSeedStatus);
|
||||
return m_session->isTempPathEnabled() && !(isSeed() || m_hasSeedStatus);
|
||||
}
|
||||
|
||||
void TorrentHandleImpl::updateStatus()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue