mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-25 16:38:21 -04:00
[contextualprocess] QLatin1String -> QString
As Kevin pointed out, there's an extra conversion involved here -- although with -O3 the difference boils away leaving only a call to a from-ASCII helper or a from-Latin1 helper. While here, coding-style.
This commit is contained in:
parent
96cb42414c
commit
011310091c
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ struct ContextualProcessBinding
|
|||
void append( const QString& value, CalamaresUtils::CommandList* commands )
|
||||
{
|
||||
checks.append( ValueCheck( value, commands ) );
|
||||
if ( value == QLatin1Literal("*") )
|
||||
if ( value == QString( "*" ) )
|
||||
wildcard = commands;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue