mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-10-22 10:46:04 +03:00
Disable the ability to create torrents with a piece size of 256MiB
Disabling will reduce the number of users experiencing this issue. https://github.com/qbittorrent/qBittorrent/issues/21011 PR #21295.
This commit is contained in:
parent
6bbedbea8a
commit
3ea2be41e7
1 changed files with 0 additions and 4 deletions
|
@ -84,11 +84,7 @@ TorrentCreatorDialog::TorrentCreatorDialog(QWidget *parent, const Path &defaultP
|
|||
m_ui->setupUi(this);
|
||||
|
||||
m_ui->comboPieceSize->addItem(tr("Auto"), 0);
|
||||
#ifdef QBT_USES_LIBTORRENT2
|
||||
for (int i = 4; i <= 18; ++i)
|
||||
#else
|
||||
for (int i = 4; i <= 17; ++i)
|
||||
#endif
|
||||
{
|
||||
const int size = 1024 << i;
|
||||
const QString displaySize = Utils::Misc::friendlyUnit(size, false, 0);
|
||||
|
|
Loading…
Reference in a new issue