--- a/QTfrontend/gameuiconfig.cpp Tue Mar 02 19:46:35 2010 +0000
+++ b/QTfrontend/gameuiconfig.cpp Tue Mar 02 19:50:58 2010 +0000
@@ -85,7 +85,7 @@
Form->ui.pageOptions->CBAutoUpdate->setChecked(value("misc/autoUpdate", true).toBool());
#endif
- Form->ui.pageOptions->CBLanguage->setCurrentIndex(Form->ui.pageOptions->CBLanguage->findData(value("misc/locale", QLocale::system().name())));
+ Form->ui.pageOptions->CBLanguage->setCurrentIndex(Form->ui.pageOptions->CBLanguage->findData(value("misc/locale", "").toString()));
depth = QApplication::desktop()->depth();
if (depth < 16) depth = 16;