Skip to content

Commit

Permalink
Fix broken strings in expression function help
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Aug 2, 2017
1 parent dfac996 commit fa1d2be
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/app/qgsmaptoollabel.cpp
Expand Up @@ -145,7 +145,7 @@ QString QgsMapToolLabel::currentLabelText( int trunc )
if ( trunc > 0 && labelText.length() > trunc )
{
labelText.truncate( trunc );
labelText += QLatin1String( "" );
labelText += QStringLiteral( "" );
}
return labelText;
}
Expand All @@ -168,7 +168,7 @@ QString QgsMapToolLabel::currentLabelText( int trunc )
if ( trunc > 0 && labelText.length() > trunc )
{
labelText.truncate( trunc );
labelText += QLatin1String( "" );
labelText += QStringLiteral( "" );
}
return labelText;
}
Expand Down
2 changes: 1 addition & 1 deletion src/core/expression/qgsexpression.cpp
Expand Up @@ -551,7 +551,7 @@ QString QgsExpression::helpText( QString name )

if ( v.mVariableLenArguments )
{
helpContents += QLatin1String( "" );
helpContents += QStringLiteral( "" );
}

helpContents += ')';
Expand Down

0 comments on commit fa1d2be

Please sign in to comment.