From 011310091c13faab5c4673757d2d62700bec96eb Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Thu, 14 Jun 2018 14:50:47 +0200 Subject: [PATCH] [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. --- src/modules/contextualprocess/ContextualProcessJob.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/contextualprocess/ContextualProcessJob.cpp b/src/modules/contextualprocess/ContextualProcessJob.cpp index d3f4554d2..d79297029 100644 --- a/src/modules/contextualprocess/ContextualProcessJob.cpp +++ b/src/modules/contextualprocess/ContextualProcessJob.cpp @@ -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; }