mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-17 22:18:05 -06:00
Set piece size to (max) 4Mb instead of empty string when created torrent
is very large.
This commit is contained in:
@@ -238,7 +238,7 @@ void TorrentCreatorDlg::updateOptimalPieceSize()
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
++i;
|
++i;
|
||||||
}while(i<m_piece_sizes.size());
|
}while(i<(m_piece_sizes.size()-1));
|
||||||
comboPieceSize->setCurrentIndex(i);
|
comboPieceSize->setCurrentIndex(i);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user