mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-25 00:18:22 -04:00
[users] Apply coding style
This commit is contained in:
parent
9fa817a244
commit
28c9da414b
1 changed files with 6 additions and 8 deletions
|
@ -322,16 +322,14 @@ UsersPage::validateUsernameText( const QString& textRef )
|
|||
}
|
||||
else if ( val_start.validate( text, pos ) == QValidator::Invalid )
|
||||
{
|
||||
labelError(
|
||||
ui->labelUsername,
|
||||
labelError( ui->labelUsername,
|
||||
ui->labelUsernameError,
|
||||
tr( "Your username must start with a lowercase letter or underscore." ) );
|
||||
m_readyUsername = false;
|
||||
}
|
||||
else if ( val_whole.validate( text, pos ) == QValidator::Invalid )
|
||||
{
|
||||
labelError(
|
||||
ui->labelUsername,
|
||||
labelError( ui->labelUsername,
|
||||
ui->labelUsernameError,
|
||||
tr( "Only lowercase letters, numbers, underscore and hyphen are allowed." ) );
|
||||
m_readyUsername = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue