mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-10 01:09:50 +00:00
Use to .toUTF8() instead of .toStdString().
This commit is contained in:
parent
29793ee97b
commit
ab7d2c1a53
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue