Skip to content

Commit b792290

Browse files
committed
QStringLiteral
1 parent 84a8219 commit b792290

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/providers/mssql/qgsmssqlexpressioncompiler.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ QString QgsMssqlExpressionCompiler::quotedValue( const QVariant &value, bool &ok
9494
QString QgsMssqlExpressionCompiler::quotedIdentifier( const QString &identifier )
9595
{
9696
QString quoted = identifier;
97-
quoted.replace( '[', "[[" );
98-
quoted.replace( ']', "]]" );
97+
quoted.replace( '[', QStringLiteral( "[[" ) );
98+
quoted.replace( ']', QStringLiteral( "]]" ) );
9999
quoted = quoted.prepend( '[' ).append( ']' );
100100
return quoted;
101101
}

0 commit comments

Comments
 (0)