Settings dialog: set port range to 1-65535 and right-align.
authorgregor herrmann <gregor@toastfreeware.priv.at>
Tue, 3 Oct 2017 20:20:38 +0000 (22:20 +0200)
committergregor herrmann <gregor@toastfreeware.priv.at>
Tue, 3 Oct 2017 20:20:38 +0000 (22:20 +0200)
src/gui/settingsdialog.ui

index 72d9d52..89c78db 100644 (file)
          </item>
          <item>
           <widget class="QSpinBox" name="port">
+           <property name="alignment">
+            <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
+           </property>
+           <property name="minimum">
+            <number>1</number>
+           </property>
            <property name="maximum">
-            <number>9999</number>
+            <number>65535</number>
            </property>
            <property name="value">
             <number>8080</number>