mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-29 23:07:48 +02:00
Merge branch 'develop' into unlimited-autosave
This commit is contained in:
@@ -280,12 +280,6 @@ void CSettingsView::on_comboBoxDisplayIndex_currentIndexChanged(int index)
|
||||
fillValidResolutionsForScreen(index);
|
||||
}
|
||||
|
||||
void CSettingsView::on_comboBoxPlayerAI_currentTextChanged(const QString & arg1)
|
||||
{
|
||||
Settings node = settings.write["server"]["playerAI"];
|
||||
node->String() = arg1.toUtf8().data();
|
||||
}
|
||||
|
||||
void CSettingsView::on_comboBoxFriendlyAI_currentTextChanged(const QString & arg1)
|
||||
{
|
||||
Settings node = settings.write["server"]["friendlyAI"];
|
||||
@@ -500,6 +494,19 @@ void CSettingsView::on_spinBoxFramerateLimit_valueChanged(int arg1)
|
||||
node->Float() = arg1;
|
||||
}
|
||||
|
||||
void CSettingsView::on_comboBoxEnemyPlayerAI_currentTextChanged(const QString &arg1)
|
||||
{
|
||||
Settings node = settings.write["server"]["playerAI"];
|
||||
node->String() = arg1.toUtf8().data();
|
||||
}
|
||||
|
||||
|
||||
void CSettingsView::on_comboBoxAlliedPlayerAI_currentTextChanged(const QString &arg1)
|
||||
{
|
||||
Settings node = settings.write["server"]["alliedAI"];
|
||||
node->String() = arg1.toUtf8().data();
|
||||
}
|
||||
|
||||
|
||||
void CSettingsView::on_checkBoxAutoSavePrefix_stateChanged(int arg1)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user