Skip to content
Permalink
Browse files

The locale selector fixes

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@10815 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
borysiasty
borysiasty committed May 18, 2009
1 parent f0f6c17 commit 75bd975f0257993d7ab4c892e85fde95fa29957e
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/app/qgsoptions.cpp
@@ -176,7 +176,7 @@ QgsOptions::QgsOptions( QWidget *parent, Qt::WFlags fl ) :
cboLocale->addItems( myI18nList );
if ( myI18nList.contains( myUserLocale ) )
{
cboLocale->setItemText( cboLocale->currentIndex(), myUserLocale );
cboLocale->setCurrentIndex( myI18nList.indexOf( myUserLocale ) );
}
bool myLocaleOverrideFlag = settings.value( "locale/overrideFlag", false ).toBool();
grpLocale->setChecked( myLocaleOverrideFlag );
@@ -623,7 +623,7 @@ QStringList QgsOptions::i18nList()
QStringList myList;
myList << "en_US"; //there is no qm file for this so we add it manually
QString myI18nPath = QgsApplication::i18nPath();
QDir myDir( myI18nPath, "*.qm" );
QDir myDir( myI18nPath, "qgis*.qm" );
QStringList myFileList = myDir.entryList();
QStringListIterator myIterator( myFileList );
while ( myIterator.hasNext() )

0 comments on commit 75bd975

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