Skip to content

Commit f342f1c

Browse files
committedNov 15, 2018
Remove one use of QStringLiteral in the copyright decoration
1 parent 0b19aab commit f342f1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/app/decorations/qgsdecorationcopyright.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ void QgsDecorationCopyright::render( const QgsMapSettings &mapSettings, QgsRende
118118
context.painter()->setRenderHint( QPainter::Antialiasing, true );
119119

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

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

0 commit comments

Comments
 (0)
Please sign in to comment.