Use to .toUTF8() instead of .toStdString().

--HG--
branch : client_config_qt
hg/feature/gsoc2013-dfighter
dfighter1985 12 years ago
parent e950834079
commit d2a7c66e9f

@ -65,7 +65,7 @@ void CGeneralSettingsWidget::save()
{
CSystem &s = CSystem::GetInstance();
s.config.setString( "LanguageCode", languageCodes[ languageComboBox->currentIndex() ].toStdString() );
s.config.setString( "LanguageCode", std::string( languageCodes[ languageComboBox->currentIndex() ].toUtf8() ) );
if( saveConfigOnQuitCheckBox->isChecked() )
s.config.setInt( "SaveConfig", 1 );

Loading…
Cancel
Save