Put macOS specific functions to MacUtils namespace

This commit is contained in:
vit9696 2017-12-12 20:20:48 +03:00
parent d57bd62add
commit d7fa5b6b6b
5 changed files with 71 additions and 65 deletions

View file

@ -559,7 +559,7 @@ void TransferListWidget::openSelectedTorrentsFolder() const
QString path = torrent->contentPath(true);
pathsList.insert(path);
}
openFiles(pathsList);
MacUtils::openFiles(pathsList);
#else
foreach (BitTorrent::TorrentHandle *const torrent, getSelectedTorrents()) {
QString path = torrent->contentPath(true);