mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-26 19:26:59 +03:00
Pass Torrent::contentPath() to MacUtils::openFiles()
it already provides absolute path, no additional manipulations are required.
This commit is contained in:
parent
ac8a6887b6
commit
53ea1843ab
1 changed files with 1 additions and 1 deletions
|
@ -552,7 +552,7 @@ void TransferListWidget::openSelectedTorrentsFolder() const
|
|||
// folders prehilighted for opening, so we use a custom method.
|
||||
for (BitTorrent::Torrent *const torrent : asConst(getSelectedTorrents()))
|
||||
{
|
||||
const Path contentPath = torrent->actualStorageLocation() / torrent->contentPath();
|
||||
const Path contentPath = torrent->contentPath();
|
||||
paths.insert(contentPath);
|
||||
}
|
||||
MacUtils::openFiles(PathList(paths.cbegin(), paths.cend()));
|
||||
|
|
Loading…
Reference in a new issue