summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/configurefrm.ui
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2020-07-27 18:40:44 +0200
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2020-08-06 22:58:19 +0200
commit04d289fe02f3dbe35d53d73b0f3ad5ce84c7e23d (patch)
tree2b4ced5f729175b6138593d30ab373b90103b412 /rbutil/rbutilqt/configurefrm.ui
parentfeb028ac37ddd2db0408328d65154e5110bf331d (diff)
downloadrockbox-04d289fe02f3dbe35d53d73b0f3ad5ce84c7e23d.tar.gz
rockbox-04d289fe02f3dbe35d53d73b0f3ad5ce84c7e23d.tar.bz2
rockbox-04d289fe02f3dbe35d53d73b0f3ad5ce84c7e23d.zip
rbutil: Use SpinBox for Proxy port value.
No need to use a validator on a LineEdit, simply use a SpinBox and disable the up / down icons. Change-Id: Ie47c5929a071dc95ed9d6f28c2417fc6dd5323fe
Diffstat (limited to 'rbutil/rbutilqt/configurefrm.ui')
-rw-r--r--rbutil/rbutilqt/configurefrm.ui13
1 files changed, 10 insertions, 3 deletions
diff --git a/rbutil/rbutilqt/configurefrm.ui b/rbutil/rbutilqt/configurefrm.ui
index b0111ac940..22536de461 100644
--- a/rbutil/rbutilqt/configurefrm.ui
+++ b/rbutil/rbutilqt/configurefrm.ui
@@ -223,9 +223,6 @@
<item row="2" column="1" colspan="2">
<widget class="QLineEdit" name="proxyUser"/>
</item>
- <item row="1" column="1" colspan="2">
- <widget class="QLineEdit" name="proxyPort"/>
- </item>
<item row="0" column="1" colspan="2">
<widget class="QLineEdit" name="proxyHost">
<property name="frame">
@@ -233,6 +230,16 @@
</property>
</widget>
</item>
+ <item row="1" column="1" colspan="2">
+ <widget class="QSpinBox" name="proxyPort">
+ <property name="buttonSymbols">
+ <enum>QAbstractSpinBox::NoButtons</enum>
+ </property>
+ <property name="maximum">
+ <number>65535</number>
+ </property>
+ </widget>
+ </item>
</layout>
</widget>
</item>