Skip to content

Commit

Permalink
Remove one use of QStringLiteral in the copyright decoration
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvn committed Nov 15, 2018
1 parent 0b19aab commit f342f1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/decorations/qgsdecorationcopyright.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
Expand Down

0 comments on commit f342f1c

Please sign in to comment.