Skip to content
Permalink
Browse files

Remove one use of QStringLiteral in the copyright decoration

  • Loading branch information
nirvn committed Nov 15, 2018
1 parent 0b19aab commit f342f1c9c74165d60fd654d8465dda4cafc9de7c
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/decorations/qgsdecorationcopyright.cpp
@@ -118,7 +118,7 @@ void QgsDecorationCopyright::render( const QgsMapSettings &mapSettings, QgsRende
context.painter()->setRenderHint( QPainter::Antialiasing, true );

QString displayString = QgsExpression::replaceExpressionText( mLabelText, &context.expressionContext() );
QStringList displayStringList = displayString.split( QStringLiteral( "\n" ) );
QStringList displayStringList = displayString.split( '\n' );

QFontMetricsF fm( mTextFormat.scaledFont( context ) );
QFontMetricsF textMetrics = QgsTextRenderer::fontMetrics( context, mTextFormat );

0 comments on commit f342f1c

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