mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
Merge pull request #4382
Jerome Pinguet (1): fix(profile): set maxLength on userName QLineEdit
This commit is contained in:
commit
e4d4f14793
|
@ -56,6 +56,10 @@ ProfileForm::ProfileForm(QWidget* parent)
|
|||
bodyUI->setupUi(this);
|
||||
core = Core::getInstance();
|
||||
|
||||
bodyUI->userNameLabel->setToolTip(tr("Tox user names cannot exceed %1 characters.")
|
||||
.arg(TOX_MAX_NAME_LENGTH));
|
||||
bodyUI->userName->setMaxLength(TOX_MAX_NAME_LENGTH);
|
||||
|
||||
// tox
|
||||
toxId = new ClickableTE();
|
||||
toxId->setReadOnly(true);
|
||||
|
|
Loading…
Reference in New Issue
Block a user