Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Rename variable (code layout)
- Loading branch information
Showing
with
2 additions
and
2 deletions.
-
+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(); |
|
|