tohojo / flent

The FLExible Network Tester.
https://flent.org
Other
428 stars 79 forks source link

gui: Don't pass floats to progressbar.setValue() #262

Closed tohojo closed 2 years ago

tohojo commented 2 years ago

The Qt ProgressBar::setValue() method expects integers and passing floats causes a crash. Round the calculation to make sure this doesn't happen.

Fixes #261.