mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-25 08:16:16 +00:00
Use to .toUTF8() instead of .toStdString().
This commit is contained in:
parent
4a8156644b
commit
118b717142
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