mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-12-21 08:09:35 +08:00
Drop unused method TorrentHandle::savePathParsed().
This commit is contained in:
parent
ef39fb0709
commit
08ee439a47
@ -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 New Issue
Block a user