Improve torrent content handling

Hide .pad files.

PR #15468.
This commit is contained in:
Vladimir Golovnev
2021-10-02 21:42:58 +03:00
committed by GitHub
parent a8ade3a04b
commit bc71827c01
16 changed files with 179 additions and 145 deletions

View File

@@ -44,7 +44,7 @@
#include "base/utils/fs.h"
#include "base/utils/io.h"
#include "base/version.h"
#include "ltunderlyingtype.h"
#include "lttypecast.h"
namespace
{
@@ -186,7 +186,7 @@ void TorrentCreatorThread::run()
, [this, &newTorrent](const lt::piece_index_t n)
{
checkInterruptionRequested();
sendProgressSignal(toLTUnderlyingType(n), newTorrent.num_pieces());
sendProgressSignal(LT::toUnderlyingType(n), newTorrent.num_pieces());
});
// Set qBittorrent as creator and add user comment to