Skip to content
Permalink
Browse files

Merge pull request #5767 from rduivenvoorde/fix_#17580_missing_flags

flags apparently converted from png to svg

Fix #17580
  • Loading branch information
m-kuhn committed Nov 29, 2017
2 parents 30fad6e + 6378332 commit de3aa0c9f8829aec0b3b00ab68c7e77a6a1925a1
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/qgsoptions.cpp
@@ -879,7 +879,7 @@ QgsOptions::QgsOptions( QWidget *parent, Qt::WindowFlags fl, const QList<QgsOpti
{
// QTBUG-57802: eo locale is improperly handled
QString displayName = l.startsWith( QLatin1String( "eo" ) ) ? QLocale::languageToString( QLocale::Esperanto ) : QLocale( l ).nativeLanguageName();
cboLocale->addItem( QIcon( QString( ":/images/flags/%1.png" ).arg( l ) ), displayName, l );
cboLocale->addItem( QIcon( QString( ":/images/flags/%1.svg" ).arg( l ) ), displayName, l );
}
cboLocale->setCurrentIndex( cboLocale->findData( myUserLocale ) );
bool myLocaleOverrideFlag = mSettings->value( QStringLiteral( "locale/overrideFlag" ), false ).toBool();

0 comments on commit de3aa0c

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