From 7ae7a717823bcd289317f7909a823f6f829e65f2 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Sat, 25 Sep 2010 07:52:29 +0000 Subject: [PATCH] Higher maximum download speed limit --- src/speedlimitdlg.h | 2 +- src/webui/scripts/parametrics.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/speedlimitdlg.h b/src/speedlimitdlg.h index 4e4ad8445..3e18588aa 100644 --- a/src/speedlimitdlg.h +++ b/src/speedlimitdlg.h @@ -57,7 +57,7 @@ class SpeedLimitDialog : public QDialog, private Ui_bandwidth_dlg { } // -2: if cancel - static long askSpeedLimit(bool *ok, QString title, long default_value, long max_value=1024000) { + static long askSpeedLimit(bool *ok, QString title, long default_value, long max_value=10240000) { SpeedLimitDialog dlg; dlg.setWindowTitle(title); dlg.setMaxValue(max_value/1024.); diff --git a/src/webui/scripts/parametrics.js b/src/webui/scripts/parametrics.js index 690d382c6..3454202ef 100644 --- a/src/webui/scripts/parametrics.js +++ b/src/webui/scripts/parametrics.js @@ -126,7 +126,7 @@ MochaUI.extend({ if(hash == "global") { var dl_limit = maximum; if(dl_limit < 0) dl_limit = 0; - maximum = 1000; + maximum = 10000; var mochaSlide = new Slider($('dllimitSliderarea'), $('dllimitSliderknob'), { steps: maximum, offset: 0,