Frontend: Increase user name length to 40 to keep it consistent with server
authorWuzzy <Wuzzy2@mail.ru>
Mon, 30 Sep 2019 16:02:39 +0200
changeset 15438 e7c059ac6e54
parent 15437 c93dfa4ab904
child 15439 a158ff8f84ef
Frontend: Increase user name length to 40 to keep it consistent with server
ChangeLog.txt
QTfrontend/ui/page/pageoptions.cpp
--- a/ChangeLog.txt	Mon Sep 30 15:15:28 2019 +0200
+++ b/ChangeLog.txt	Mon Sep 30 16:02:39 2019 +0200
@@ -170,6 +170,7 @@
  * Fix force-locked schemes getting unlocked when changing map types
  * Fix possible to select background-only or hidden themes indirectly by changing map type
  * Disallow slash, backslash and colon characters in team and scheme names
+ * Increase user name length from 20 to 40
 
 Sounds and voicepacks:
  + sndYoohoo has been split to sndYoohoo and sndKiss
--- a/QTfrontend/ui/page/pageoptions.cpp	Mon Sep 30 15:15:28 2019 +0200
+++ b/QTfrontend/ui/page/pageoptions.cpp	Mon Sep 30 16:02:39 2019 +0200
@@ -573,7 +573,7 @@
             groupAccount->layout()->addWidget(labelNN, 0, 0);
 
             editNetNick = new QLineEdit(groupAccount);
-            editNetNick->setMaxLength(20);
+            editNetNick->setMaxLength(40);
             editNetNick->setText(QLineEdit::tr("anonymous"));
             groupAccount->layout()->addWidget(editNetNick, 0, 1);