mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-01 00:46:20 -05:00
QStringLiteral
This commit is contained in:
parent
b379d75e1f
commit
1bf63f1331
@ -32,7 +32,7 @@ QVariantMap QgsHstoreUtils::parse( const QString &string )
|
||||
QString sep = sSeps.at( bits.length() );
|
||||
if ( current.startsWith( '"' ) )
|
||||
{
|
||||
QRegularExpression re( "^\"((?:\\\\.|[^\"\\\\])*)\".*" );
|
||||
QRegularExpression re( QStringLiteral( "^\"((?:\\\\.|[^\"\\\\])*)\".*" ) );
|
||||
QRegularExpressionMatch match = re.match( current );
|
||||
bits << QString();
|
||||
if ( match.hasMatch() )
|
||||
|
Loading…
x
Reference in New Issue
Block a user