From 91818417be124ab330c216bcd8971a7fbc56787e Mon Sep 17 00:00:00 2001 From: ngosang Date: Wed, 24 Jun 2015 13:04:11 +0200 Subject: [PATCH] Add 16 KiB, 8 MiB and 16 MiB piece sizes in Torrent Creator --- src/gui/torrentcreatordlg.cpp | 2 +- src/gui/torrentcreatordlg.ui | 17 ++++++++++++++++- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/src/gui/torrentcreatordlg.cpp b/src/gui/torrentcreatordlg.cpp index 6d3fd8172..ae1e91abb 100644 --- a/src/gui/torrentcreatordlg.cpp +++ b/src/gui/torrentcreatordlg.cpp @@ -60,7 +60,7 @@ TorrentCreatorDlg::TorrentCreatorDlg(QWidget *parent) showProgressBar(false); loadTrackerList(); // Piece sizes - m_pieceSizes << 32 << 64 << 128 << 256 << 512 << 1024 << 2048 << 4096; + m_pieceSizes << 16 << 32 << 64 << 128 << 256 << 512 << 1024 << 2048 << 4096 << 8192 << 16384; loadSettings(); show(); } diff --git a/src/gui/torrentcreatordlg.ui b/src/gui/torrentcreatordlg.ui index 876accdd1..524fc2db8 100644 --- a/src/gui/torrentcreatordlg.ui +++ b/src/gui/torrentcreatordlg.ui @@ -158,8 +158,13 @@ false - 3 + 4 + + + 16 KiB + + 32 KiB @@ -200,6 +205,16 @@ 4 MiB + + + 8 MiB + + + + + 16 MiB + +