From 856f7e88f264c28a3e1254312837ac5e36eb296e Mon Sep 17 00:00:00 2001 From: Jan Boon Date: Thu, 29 Oct 2020 11:29:49 +0800 Subject: [PATCH] Update general_settings_widget.cpp --- .../client/client_config_qt/src/general_settings_widget.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ryzom/tools/client/client_config_qt/src/general_settings_widget.cpp b/ryzom/tools/client/client_config_qt/src/general_settings_widget.cpp index f38e5299b..6bb81f70f 100644 --- a/ryzom/tools/client/client_config_qt/src/general_settings_widget.cpp +++ b/ryzom/tools/client/client_config_qt/src/general_settings_widget.cpp @@ -42,13 +42,13 @@ void CGeneralSettingsWidget::load() CSystem &s = CSystem::GetInstance(); std::vector codes = NLMISC::CI18N::getLanguageCodes(); - std::vector names = NLMISC::CI18N::getLanguageNames(); + std::vector names = NLMISC::CI18N::getLanguageNames(); languageComboBox->clear(); for(uint i = 0; i < codes.size(); ++i) { - languageComboBox->addItem(QString::fromUtf16(names[i].c_str()), QString::fromUtf8(codes[i].c_str())); + languageComboBox->addItem(QString::fromUtf8(names[i].c_str()), QString::fromUtf8(codes[i].c_str())); } sint32 cbIndex = getIndexForLanguageCode( QString::fromUtf8( s.config.getString( "LanguageCode" ).c_str() ) );