Skip to content

Commit

Permalink
Enable adaptive step size for upload and download limits
Browse files Browse the repository at this point in the history
  • Loading branch information
HaraldNordgren authored and brvphoenix committed Oct 3, 2024
1 parent 36e0424 commit 093ea88
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/gui/optionsdialog.ui
Original file line number Diff line number Diff line change
Expand Up @@ -2269,6 +2269,9 @@ readme[0-9].txt: filter 'readme1.txt', 'readme2.txt' but not 'readme10.txt'.</st
<property name="value">
<number>100</number>
</property>
<property name="stepType">
<enum>QAbstractSpinBox::AdaptiveDecimalStepType</enum>
</property>
</widget>
</item>
<item row="1" column="2">
Expand All @@ -2285,6 +2288,9 @@ readme[0-9].txt: filter 'readme1.txt', 'readme2.txt' but not 'readme10.txt'.</st
<property name="value">
<number>100</number>
</property>
<property name="stepType">
<enum>QAbstractSpinBox::AdaptiveDecimalStepType</enum>
</property>
</widget>
</item>
<item row="0" column="0" rowspan="2">
Expand Down Expand Up @@ -2340,6 +2346,9 @@ readme[0-9].txt: filter 'readme1.txt', 'readme2.txt' but not 'readme10.txt'.</st
<property name="value">
<number>10</number>
</property>
<property name="stepType">
<enum>QAbstractSpinBox::AdaptiveDecimalStepType</enum>
</property>
</widget>
</item>
<item row="0" column="0" rowspan="2">
Expand Down Expand Up @@ -2476,6 +2485,9 @@ readme[0-9].txt: filter 'readme1.txt', 'readme2.txt' but not 'readme10.txt'.</st
<property name="value">
<number>10</number>
</property>
<property name="stepType">
<enum>QAbstractSpinBox::AdaptiveDecimalStepType</enum>
</property>
</widget>
</item>
<item row="0" column="3">
Expand Down Expand Up @@ -2864,6 +2876,9 @@ Disable encryption: Only connect to peers without protocol encryption</string>
<property name="value">
<number>2</number>
</property>
<property name="stepType">
<enum>QAbstractSpinBox::AdaptiveDecimalStepType</enum>
</property>
</widget>
</item>
<item row="1" column="1">
Expand All @@ -2877,6 +2892,9 @@ Disable encryption: Only connect to peers without protocol encryption</string>
<property name="value">
<number>2</number>
</property>
<property name="stepType">
<enum>QAbstractSpinBox::AdaptiveDecimalStepType</enum>
</property>
</widget>
</item>
<item row="1" column="0">
Expand Down
12 changes: 12 additions & 0 deletions src/gui/speedlimitdialog.ui
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@
<property name="maximum">
<number>2000000</number>
</property>
<property name="stepType">
<enum>QAbstractSpinBox::AdaptiveDecimalStepType</enum>
</property>
</widget>
</item>
<item row="1" column="1">
Expand Down Expand Up @@ -79,6 +82,9 @@
<property name="maximum">
<number>2000000</number>
</property>
<property name="stepType">
<enum>QAbstractSpinBox::AdaptiveDecimalStepType</enum>
</property>
</widget>
</item>
</layout>
Expand Down Expand Up @@ -122,6 +128,9 @@
<property name="maximum">
<number>2000000</number>
</property>
<property name="stepType">
<enum>QAbstractSpinBox::AdaptiveDecimalStepType</enum>
</property>
</widget>
</item>
<item row="1" column="1">
Expand Down Expand Up @@ -149,6 +158,9 @@
<property name="maximum">
<number>2000000</number>
</property>
<property name="stepType">
<enum>QAbstractSpinBox::AdaptiveDecimalStepType</enum>
</property>
</widget>
</item>
</layout>
Expand Down
6 changes: 6 additions & 0 deletions src/gui/torrentoptionsdialog.ui
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,9 @@
<property name="maximum">
<number>2000000</number>
</property>
<property name="stepType">
<enum>QAbstractSpinBox::AdaptiveDecimalStepType</enum>
</property>
</widget>
</item>
<item row="0" column="2">
Expand All @@ -117,6 +120,9 @@
<property name="maximum">
<number>2000000</number>
</property>
<property name="stepType">
<enum>QAbstractSpinBox::AdaptiveDecimalStepType</enum>
</property>
</widget>
</item>
<item row="2" column="1" colspan="2">
Expand Down

0 comments on commit 093ea88

Please sign in to comment.