mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-22 20:44:15 +00: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
@ -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…
x
Reference in New Issue
Block a user