Browse Source

Speedlimitdlg: raise slider default value to 10000. Closes #6150.

Old value 1000 (KB/s) can be a bit small for modern internet.
adaptive-webui-19844
Chocobo1 8 years ago
parent
commit
14a39ba3c3
  1. 2
      src/gui/speedlimitdlg.cpp

2
src/gui/speedlimitdlg.cpp

@ -104,7 +104,7 @@ void SpeedLimitDialog::setupDialog(long max_slider, long val) const
if (val < 0) if (val < 0)
val = 0; val = 0;
if (max_slider <= 0) if (max_slider <= 0)
max_slider = 1000; max_slider = 10000;
// This can happen for example if global rate limit is lower // This can happen for example if global rate limit is lower
// than torrent rate limit. // than torrent rate limit.
if (val > max_slider) if (val > max_slider)

Loading…
Cancel
Save