diff --git a/src/core/bittorrent/torrenthandle.cpp b/src/core/bittorrent/torrenthandle.cpp index 996160a37..cd9b2e3bf 100644 --- a/src/core/bittorrent/torrenthandle.cpp +++ b/src/core/bittorrent/torrenthandle.cpp @@ -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(); diff --git a/src/core/bittorrent/torrenthandle.h b/src/core/bittorrent/torrenthandle.h index 4a2ec204a..c8e6141f3 100644 --- a/src/core/bittorrent/torrenthandle.h +++ b/src/core/bittorrent/torrenthandle.h @@ -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;