Merge pull request #292 from lack/offline_username_limits

Limit offline username to 16 characters with override
This commit is contained in:
Sefa Eyeoglu
2022-03-19 16:02:28 +01:00
parent bf6fa6bce4
commit ddda02f092
3 changed files with 23 additions and 0 deletions

View File

@ -35,11 +35,24 @@
</item>
<item>
<widget class="QLineEdit" name="userTextBox">
<property name="maxLength">
<number>16</number>
</property>
<property name="placeholderText">
<string>Username</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="allowLongUsernames">
<property name="toolTip">
<string>Usernames longer than 16 characters cannot be used for LAN games or offline-mode servers.</string>
</property>
<property name="text">
<string>Allow long usernames</string>
</property>
</widget>
</item>
<item>
<widget class="QProgressBar" name="progressBar">
<property name="value">