Remove redundant type casting

This commit is contained in:
Chocobo1 2019-11-14 12:18:41 +08:00
parent b55403ce66
commit 0f2c61a207
No known key found for this signature in database
GPG key ID: 210D9C873253A68C

View file

@ -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));