[TorrentCreator] Show number of pieces. Closes #6774.

This commit is contained in:
Chocobo1
2017-05-25 22:48:10 +08:00
parent 1f9ccb44a3
commit c618214061
5 changed files with 36 additions and 0 deletions

View File

@@ -47,6 +47,8 @@ namespace BitTorrent
void create(const QString &inputPath, const QString &savePath, const QStringList &trackers,
const QStringList &urlSeeds, const QString &comment, bool isPrivate, int pieceSize);
static int calculateTotalPieces(const QString &inputPath, const int pieceSize);
protected:
void run();