mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-13 00:33:09 -07:00
Fix Finder reveal in preview and torrent contents
This commit is contained in:
parent
d7fa5b6b6b
commit
ed154d35ba
2 changed files with 12 additions and 0 deletions
|
@ -362,10 +362,14 @@ void TransferListWidget::torrentDoubleClicked()
|
|||
torrent->pause();
|
||||
break;
|
||||
case OPEN_DEST:
|
||||
#ifdef Q_OS_MAC
|
||||
MacUtils::openFiles(QSet<QString>{torrent->contentPath(true)});
|
||||
#else
|
||||
if (torrent->filesCount() == 1)
|
||||
Utils::Misc::openFolderSelect(torrent->contentPath(true));
|
||||
else
|
||||
Utils::Misc::openPath(torrent->contentPath(true));
|
||||
#endif
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue