From 0f2c61a207b9b2c1060825231eb0cbf06d0dd062 Mon Sep 17 00:00:00 2001 From: Chocobo1 Date: Thu, 14 Nov 2019 12:18:41 +0800 Subject: [PATCH] Remove redundant type casting --- src/gui/transferlistwidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/transferlistwidget.cpp b/src/gui/transferlistwidget.cpp index 18fe680ed..751cf4d22 100644 --- a/src/gui/transferlistwidget.cpp +++ b/src/gui/transferlistwidget.cpp @@ -101,7 +101,7 @@ namespace void openDestinationFolder(const BitTorrent::TorrentHandle *const torrent) { #ifdef Q_OS_MACOS - MacUtils::openFiles(QSet{torrent->contentPath(true)}); + MacUtils::openFiles({torrent->contentPath(true)}); #else if (torrent->filesCount() == 1) Utils::Gui::openFolderSelect(torrent->contentPath(true));