mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-03 06:02:29 -06:00
Correctly track the root folder name change
This commit is contained in:
committed by
Vladimir Golovnev
parent
4cfccc54ea
commit
e468f004f4
@@ -444,7 +444,7 @@ QString TorrentImpl::rootPath() const
|
||||
if (!hasMetadata())
|
||||
return {};
|
||||
|
||||
const QString relativeRootPath = m_torrentInfo.rootFolder();
|
||||
const QString relativeRootPath = Utils::Fs::findRootFolder(filePaths());
|
||||
if (relativeRootPath.isEmpty())
|
||||
return {};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user