Skip to content

Commit

Permalink
Rename variable (code layout)
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso committed Jul 3, 2018
1 parent f072485 commit b1a67ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/qgsoptions.cpp
Expand Up @@ -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();
Expand Down

0 comments on commit b1a67ba

Please sign in to comment.