1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-26 09:37:56 +00:00

GTK: increase torrent piece size limit as per #3402 (#3771)

This commit is contained in:
orbital-mango 2022-09-06 14:43:27 +01:00 committed by GitHub
parent 82212ff1d8
commit 488d4a993f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -379,8 +379,8 @@ void MakeDialog::Impl::updatePiecesLabel()
void MakeDialog::Impl::configurePieceSizeScale()
{
// the below lower & upper bounds would allow piece size selection between approx 1KiB - 16MiB
auto adjustment = Gtk::Adjustment::create(log2(builder_->pieceSize()), 10, 24, 1.0, 1.0);
// the below lower & upper bounds would allow piece size selection between approx 1KiB - 64MiB
auto adjustment = Gtk::Adjustment::create(log2(builder_->pieceSize()), 10, 26, 1.0, 1.0);
piece_size_scale_->set_adjustment(adjustment);
piece_size_scale_->set_visible(true);
}