mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-27 11:49:01 +03:00
Higher maximum download speed limit
This commit is contained in:
parent
8994ca6dd5
commit
7ae7a71782
2 changed files with 2 additions and 2 deletions
|
@ -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.);
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue