Skip to content
Permalink
Browse files

Rename variable (code layout)

  • Loading branch information
elpaso committed Jul 3, 2018
1 parent c864e1a commit ed0f3409ba49cb727daea3c44635cd627d7677ac
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/app/qgsoptions.cpp
@@ -910,8 +910,8 @@ QgsOptions::QgsOptions( QWidget *parent, Qt::WindowFlags fl, const QList<QgsOpti
QString userLocale = mSettings->value( QStringLiteral( "locale/userLocale" ), QString( ) ).toString();
bool showGroupSeparator = mSettings->value( QStringLiteral( "locale/showGroupSeparator" ), false ).toBool();
QString globalLocale = mSettings->value( QStringLiteral( "locale/globalLocale" ), currentLocale ).toString();
const QStringList curentI18nList( i18nList() );
for ( const auto &l : curentI18nList )
const QStringList language18nList( i18nList() );
for ( const auto &l : language18nList )
{
// QTBUG-57802: eo locale is improperly handled
QString displayName = l.startsWith( QLatin1String( "eo" ) ) ? QLocale::languageToString( QLocale::Esperanto ) : QLocale( l ).nativeLanguageName();

0 comments on commit ed0f340

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