Skip to content
Permalink
Browse files

Follow up dc7bfc5 : QString::back() too recent to use

  • Loading branch information
nirvn committed Apr 30, 2019
1 parent dc7bfc5 commit a665eac1758a4faf9b477e69b3ef6f3e09fc7a59
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/symbology/qgssymbollayerwidget.cpp
@@ -3394,7 +3394,7 @@ void QgsFontMarkerSymbolLayerWidget::setCharacterFromText( const QString &text )
return;

// take the last character of a string for a better experience when users cycle through several characters on their keyboard
QChar chr = text.back();
QChar chr = text.at( text.length() - 1 );
if ( text.contains( QRegularExpression( QStringLiteral( "^0x[0-9a-fA-F]{1,4}$" ) ) ) )
{
bool ok = false;

0 comments on commit a665eac

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