little ui fixes

This commit is contained in:
hypnosis-i2p 2017-09-08 18:02:12 +08:00
parent 9441c1cffe
commit 1efc2a9b5d
2 changed files with 3 additions and 3 deletions

View file

@ -331,7 +331,7 @@ public:
class UInt16StringItem : public BaseFormattedStringItem {
public:
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 bool isValid(){
auto str=lineEdit->text();