Browser: Set DownloadWidget progress bar minimum value correctly

This fixes a typo from #19462.
This commit is contained in:
Tim Ledbetter 2023-06-19 17:46:18 +01:00 committed by Andreas Kling
parent 1b55ff6f4c
commit 1737a0d1d9
Notes: sideshowbarker 2024-07-17 05:21:12 +09:00

View file

@ -78,7 +78,7 @@ DownloadWidget::DownloadWidget(const URL& url)
m_progressbar = add<GUI::Progressbar>();
m_progressbar->set_fixed_height(20);
m_progressbar->set_max(0);
m_progressbar->set_min(0);
m_progressbar->set_max(100);
m_progress_label = add<GUI::Label>();