From 14a39ba3c34eafa9dfed33127d1d9e033a7ffb2e Mon Sep 17 00:00:00 2001 From: Chocobo1 Date: Fri, 30 Dec 2016 13:39:26 +0800 Subject: [PATCH] Speedlimitdlg: raise slider default value to 10000. Closes #6150. Old value 1000 (KB/s) can be a bit small for modern internet. --- src/gui/speedlimitdlg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/speedlimitdlg.cpp b/src/gui/speedlimitdlg.cpp index d90cc1534..25c780cae 100644 --- a/src/gui/speedlimitdlg.cpp +++ b/src/gui/speedlimitdlg.cpp @@ -104,7 +104,7 @@ void SpeedLimitDialog::setupDialog(long max_slider, long val) const if (val < 0) val = 0; if (max_slider <= 0) - max_slider = 1000; + max_slider = 10000; // This can happen for example if global rate limit is lower // than torrent rate limit. if (val > max_slider)