Merge pull request #292 from lack/offline_username_limits
Limit offline username to 16 characters with override
This commit is contained in:
@ -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">
|
||||
|
Reference in New Issue
Block a user