From 1efc2a9b5dd80402f4f7f3399c1e7a573b2dfce6 Mon Sep 17 00:00:00 2001 From: hypnosis-i2p Date: Fri, 8 Sep 2017 18:02:12 +0800 Subject: [PATCH] little ui fixes --- qt/i2pd_qt/generalsettingswidget.ui | 4 ++-- qt/i2pd_qt/mainwindow.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/qt/i2pd_qt/generalsettingswidget.ui b/qt/i2pd_qt/generalsettingswidget.ui index 6af16ecf..a7f07e5d 100644 --- a/qt/i2pd_qt/generalsettingswidget.ui +++ b/qt/i2pd_qt/generalsettingswidget.ui @@ -929,7 +929,7 @@ - Port (leave empty to auto-assign): + Port (leave 0 to auto-assign): @@ -1500,7 +1500,7 @@ - Bandwidth limit (integer): + Bandwidth limit (integer or a letter): diff --git a/qt/i2pd_qt/mainwindow.h b/qt/i2pd_qt/mainwindow.h index 46294084..1805ad87 100644 --- a/qt/i2pd_qt/mainwindow.h +++ b/qt/i2pd_qt/mainwindow.h @@ -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();