Use uniform way to export .torrent files

PR #17013.
This commit is contained in:
Vladimir Golovnev
2022-05-10 15:36:05 +03:00
committed by GitHub
parent 5af78ad2cd
commit a048ea668f
3 changed files with 9 additions and 31 deletions

View File

@@ -626,7 +626,7 @@ namespace BitTorrent
bool addTorrent_impl(const std::variant<MagnetUri, TorrentInfo> &source, const AddTorrentParams &addTorrentParams);
void updateSeedingLimitTimer();
void exportTorrentFile(const TorrentInfo &torrentInfo, const Path &folderPath, const QString &baseName);
void exportTorrentFile(const Torrent *torrent, const Path &folderPath);
void handleAlert(const lt::alert *a);
void dispatchTorrentAlert(const lt::alert *a);