mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-26 22:44:36 +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)
|
||||
{
|
||||
#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));
|
||||
|
Loading…
x
Reference in New Issue
Block a user