mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-23 17:38:44 +00:00
Use to .toUTF8() instead of .toStdString().
--HG-- branch : client_config_qt
This commit is contained in:
parent
e950834079
commit
d2a7c66e9f
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ void CGeneralSettingsWidget::save()
|
||||||
{
|
{
|
||||||
CSystem &s = CSystem::GetInstance();
|
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() )
|
if( saveConfigOnQuitCheckBox->isChecked() )
|
||||||
s.config.setInt( "SaveConfig", 1 );
|
s.config.setInt( "SaveConfig", 1 );
|
||||||
|
|
Loading…
Reference in a new issue