Drop unused method TorrentHandle::savePathParsed().

This commit is contained in:
Vladimir Golovnev (Glassez) 2015-09-22 20:39:09 +03:00
parent ef39fb0709
commit 08ee439a47
2 changed files with 0 additions and 12 deletions

View file

@ -466,17 +466,6 @@ void TorrentHandle::saveResumeData()
m_needSaveResumeData = false; 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 int TorrentHandle::filesCount() const
{ {
return m_torrentInfo.filesCount(); return m_torrentInfo.filesCount();

View file

@ -184,7 +184,6 @@ namespace BitTorrent
QString actualSavePath() const; QString actualSavePath() const;
QString savePath() const; QString savePath() const;
QString rootPath() const; QString rootPath() const;
QString savePathParsed() const;
int filesCount() const; int filesCount() const;
int piecesCount() const; int piecesCount() const;
int piecesHave() const; int piecesHave() const;