1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-11 07:18:08 +00:00

Allow 2 decimals when setting the share ratio. Closes #1303.

This commit is contained in:
sledgehammer999 2014-01-23 00:25:09 +02:00
parent 532be11b2a
commit b8040e4b4d
2 changed files with 7 additions and 7 deletions

View File

@ -2273,14 +2273,11 @@
<property name="alignment">
<set>Qt::AlignHCenter</set>
</property>
<property name="decimals">
<number>1</number>
</property>
<property name="minimum">
<double>0.000000000000000</double>
</property>
<property name="maximum">
<double>20.000000000000000</double>
<double>9998.000000000000000</double>
</property>
<property name="singleStep">
<double>0.050000000000000</double>

View File

@ -48,11 +48,14 @@
</item>
<item>
<widget class="QDoubleSpinBox" name="ratioSpinBox">
<property name="decimals">
<number>1</number>
<property name="maximum">
<double>9998.000000000000000</double>
</property>
<property name="singleStep">
<double>0.100000000000000</double>
<double>0.050000000000000</double>
</property>
<property name="value">
<double>1.000000000000000</double>
</property>
</widget>
</item>