mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-10-22 18:56:08 +03:00
Remove redundant type casting
This commit is contained in:
parent
b55403ce66
commit
0f2c61a207
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue