mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 06:28:03 -06:00
Remove redundant type casting
This commit is contained in:
@@ -101,7 +101,7 @@ namespace
|
||||
void openDestinationFolder(const BitTorrent::TorrentHandle *const torrent)
|
||||
{
|
||||
#ifdef Q_OS_MACOS
|
||||
MacUtils::openFiles(QSet<QString>{torrent->contentPath(true)});
|
||||
MacUtils::openFiles({torrent->contentPath(true)});
|
||||
#else
|
||||
if (torrent->filesCount() == 1)
|
||||
Utils::Gui::openFolderSelect(torrent->contentPath(true));
|
||||
|
||||
Reference in New Issue
Block a user