mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-29 05:48:47 +03:00
Drop unused method TorrentHandle::savePathParsed().
This commit is contained in:
parent
ef39fb0709
commit
08ee439a47
2 changed files with 0 additions and 12 deletions
|
@ -466,17 +466,6 @@ void TorrentHandle::saveResumeData()
|
|||
m_needSaveResumeData = false;
|
||||
}
|
||||
|
||||
QString TorrentHandle::savePathParsed() const
|
||||
{
|
||||
QString p;
|
||||
if (hasMetadata() && (filesCount() == 1))
|
||||
p = firstFileSavePath();
|
||||
else
|
||||
p = savePath();
|
||||
|
||||
return Utils::Fs::toNativePath(p);
|
||||
}
|
||||
|
||||
int TorrentHandle::filesCount() const
|
||||
{
|
||||
return m_torrentInfo.filesCount();
|
||||
|
|
|
@ -184,7 +184,6 @@ namespace BitTorrent
|
|||
QString actualSavePath() const;
|
||||
QString savePath() const;
|
||||
QString rootPath() const;
|
||||
QString savePathParsed() const;
|
||||
int filesCount() const;
|
||||
int piecesCount() const;
|
||||
int piecesHave() const;
|
||||
|
|
Loading…
Reference in a new issue