From 376df3218dec493dea11c20ffc8265bab22b5c6c Mon Sep 17 00:00:00 2001 From: Ivan Sorokin Date: Sun, 16 Nov 2014 18:28:16 +0300 Subject: [PATCH] Set piece size to (max) 4Mb instead of empty string when created torrent is very large. --- src/torrentcreator/torrentcreatordlg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/torrentcreator/torrentcreatordlg.cpp b/src/torrentcreator/torrentcreatordlg.cpp index 96743ee84..114f4c3f4 100644 --- a/src/torrentcreator/torrentcreatordlg.cpp +++ b/src/torrentcreator/torrentcreatordlg.cpp @@ -238,7 +238,7 @@ void TorrentCreatorDlg::updateOptimalPieceSize() break; } ++i; - }while(isetCurrentIndex(i); }