mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-02-05 11:24:15 +00:00
Remove redundant type casting
This commit is contained in:
parent
b55403ce66
commit
0f2c61a207
@ -101,7 +101,7 @@ namespace
|
|||||||
void openDestinationFolder(const BitTorrent::TorrentHandle *const torrent)
|
void openDestinationFolder(const BitTorrent::TorrentHandle *const torrent)
|
||||||
{
|
{
|
||||||
#ifdef Q_OS_MACOS
|
#ifdef Q_OS_MACOS
|
||||||
MacUtils::openFiles(QSet<QString>{torrent->contentPath(true)});
|
MacUtils::openFiles({torrent->contentPath(true)});
|
||||||
#else
|
#else
|
||||||
if (torrent->filesCount() == 1)
|
if (torrent->filesCount() == 1)
|
||||||
Utils::Gui::openFolderSelect(torrent->contentPath(true));
|
Utils::Gui::openFolderSelect(torrent->contentPath(true));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user