mirror of
https://github.com/transmission/transmission
synced 2024-12-27 01:57:52 +00:00
parent
82212ff1d8
commit
488d4a993f
1 changed files with 2 additions and 2 deletions
|
@ -379,8 +379,8 @@ void MakeDialog::Impl::updatePiecesLabel()
|
||||||
|
|
||||||
void MakeDialog::Impl::configurePieceSizeScale()
|
void MakeDialog::Impl::configurePieceSizeScale()
|
||||||
{
|
{
|
||||||
// the below lower & upper bounds would allow piece size selection between approx 1KiB - 16MiB
|
// the below lower & upper bounds would allow piece size selection between approx 1KiB - 64MiB
|
||||||
auto adjustment = Gtk::Adjustment::create(log2(builder_->pieceSize()), 10, 24, 1.0, 1.0);
|
auto adjustment = Gtk::Adjustment::create(log2(builder_->pieceSize()), 10, 26, 1.0, 1.0);
|
||||||
piece_size_scale_->set_adjustment(adjustment);
|
piece_size_scale_->set_adjustment(adjustment);
|
||||||
piece_size_scale_->set_visible(true);
|
piece_size_scale_->set_visible(true);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue