Skip to content

Commit fa1d2be

Browse files
committedAug 2, 2017
Fix broken strings in expression function help
1 parent dfac996 commit fa1d2be

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
 

‎src/app/qgsmaptoollabel.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ QString QgsMapToolLabel::currentLabelText( int trunc )
145145
if ( trunc > 0 && labelText.length() > trunc )
146146
{
147147
labelText.truncate( trunc );
148-
labelText += QLatin1String( "" );
148+
labelText += QStringLiteral( "" );
149149
}
150150
return labelText;
151151
}
@@ -168,7 +168,7 @@ QString QgsMapToolLabel::currentLabelText( int trunc )
168168
if ( trunc > 0 && labelText.length() > trunc )
169169
{
170170
labelText.truncate( trunc );
171-
labelText += QLatin1String( "" );
171+
labelText += QStringLiteral( "" );
172172
}
173173
return labelText;
174174
}

‎src/core/expression/qgsexpression.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -551,7 +551,7 @@ QString QgsExpression::helpText( QString name )
551551

552552
if ( v.mVariableLenArguments )
553553
{
554-
helpContents += QLatin1String( "" );
554+
helpContents += QStringLiteral( "" );
555555
}
556556

557557
helpContents += ')';

0 commit comments

Comments
 (0)
Please sign in to comment.