Skip to content
Permalink
Browse files

Fix broken strings in expression function help

  • Loading branch information
nyalldawson committed Aug 2, 2017
1 parent dfac996 commit fa1d2be25f88d64dd941d4dd9c0ff23f40a105d3
Showing with 3 additions and 3 deletions.
  1. +2 −2 src/app/qgsmaptoollabel.cpp
  2. +1 −1 src/core/expression/qgsexpression.cpp
@@ -145,7 +145,7 @@ QString QgsMapToolLabel::currentLabelText( int trunc )
if ( trunc > 0 && labelText.length() > trunc )
{
labelText.truncate( trunc );
labelText += QLatin1String( "" );
labelText += QStringLiteral( "" );
}
return labelText;
}
@@ -168,7 +168,7 @@ QString QgsMapToolLabel::currentLabelText( int trunc )
if ( trunc > 0 && labelText.length() > trunc )
{
labelText.truncate( trunc );
labelText += QLatin1String( "" );
labelText += QStringLiteral( "" );
}
return labelText;
}
@@ -551,7 +551,7 @@ QString QgsExpression::helpText( QString name )

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

helpContents += ')';

0 comments on commit fa1d2be

Please sign in to comment.
You can’t perform that action at this time.