mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 12:24:19 +00:00
little ui fixes
This commit is contained in:
parent
9441c1cffe
commit
1efc2a9b5d
@ -929,7 +929,7 @@
|
|||||||
<item>
|
<item>
|
||||||
<widget class="QLabel" name="label_7">
|
<widget class="QLabel" name="label_7">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Port (leave empty to auto-assign):</string>
|
<string>Port (leave 0 to auto-assign):</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
@ -1500,7 +1500,7 @@
|
|||||||
<item>
|
<item>
|
||||||
<widget class="QLabel" name="bandwidthLabel">
|
<widget class="QLabel" name="bandwidthLabel">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Bandwidth limit (integer):</string>
|
<string>Bandwidth limit (integer or a letter):</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
@ -331,7 +331,7 @@ public:
|
|||||||
class UInt16StringItem : public BaseFormattedStringItem {
|
class UInt16StringItem : public BaseFormattedStringItem {
|
||||||
public:
|
public:
|
||||||
UInt16StringItem(ConfigOption option_, QLineEdit* lineEdit_, QString fieldNameTranslated_) :
|
UInt16StringItem(ConfigOption option_, QLineEdit* lineEdit_, QString fieldNameTranslated_) :
|
||||||
BaseFormattedStringItem(option_, lineEdit_, fieldNameTranslated_, QApplication::tr("Must be unsigned 16-bit integer")) {};
|
BaseFormattedStringItem(option_, lineEdit_, fieldNameTranslated_, QApplication::tr("Must be unsigned 16-bit integer.")) {};
|
||||||
virtual ~UInt16StringItem(){}
|
virtual ~UInt16StringItem(){}
|
||||||
virtual bool isValid(){
|
virtual bool isValid(){
|
||||||
auto str=lineEdit->text();
|
auto str=lineEdit->text();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user