Skip to content

Commit

Permalink
QStringLiteral
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Oct 21, 2018
1 parent b379d75 commit 1bf63f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/qgshstoreutils.cpp
Expand Up @@ -32,7 +32,7 @@ QVariantMap QgsHstoreUtils::parse( const QString &string )
QString sep = sSeps.at( bits.length() ); QString sep = sSeps.at( bits.length() );
if ( current.startsWith( '"' ) ) if ( current.startsWith( '"' ) )
{ {
QRegularExpression re( "^\"((?:\\\\.|[^\"\\\\])*)\".*" ); QRegularExpression re( QStringLiteral( "^\"((?:\\\\.|[^\"\\\\])*)\".*" ) );
QRegularExpressionMatch match = re.match( current ); QRegularExpressionMatch match = re.match( current );
bits << QString(); bits << QString();
if ( match.hasMatch() ) if ( match.hasMatch() )
Expand Down

0 comments on commit 1bf63f1

Please sign in to comment.