QTfrontend/gameuiconfig.cpp
changeset 2913 865ae941d59e
parent 2898 c53636f556f8
child 2948 3f21a9dc93d0
--- 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;