mirror of
https://github.com/vcmi/vcmi.git
synced 2024-11-24 08:32:34 +02:00
Replaced deprecated(removed from qt6) signals
This commit is contained in:
parent
3d5ea269ca
commit
09c4d1a7b3
@ -225,25 +225,25 @@ void CSettingsView::on_comboBoxDisplayIndex_currentIndexChanged(int index)
|
||||
fillValidResolutionsForScreen(index);
|
||||
}
|
||||
|
||||
void CSettingsView::on_comboBoxPlayerAI_currentIndexChanged(const QString & arg1)
|
||||
void CSettingsView::on_comboBoxPlayerAI_currentTextChanged(const QString & arg1)
|
||||
{
|
||||
Settings node = settings.write["server"]["playerAI"];
|
||||
node->String() = arg1.toUtf8().data();
|
||||
}
|
||||
|
||||
void CSettingsView::on_comboBoxFriendlyAI_currentIndexChanged(const QString & arg1)
|
||||
void CSettingsView::on_comboBoxFriendlyAI_currentTextChanged(const QString & arg1)
|
||||
{
|
||||
Settings node = settings.write["server"]["friendlyAI"];
|
||||
node->String() = arg1.toUtf8().data();
|
||||
}
|
||||
|
||||
void CSettingsView::on_comboBoxNeutralAI_currentIndexChanged(const QString & arg1)
|
||||
void CSettingsView::on_comboBoxNeutralAI_currentTextChanged(const QString & arg1)
|
||||
{
|
||||
Settings node = settings.write["server"]["neutralAI"];
|
||||
node->String() = arg1.toUtf8().data();
|
||||
}
|
||||
|
||||
void CSettingsView::on_comboBoxEnemyAI_currentIndexChanged(const QString & arg1)
|
||||
void CSettingsView::on_comboBoxEnemyAI_currentTextChanged(const QString & arg1)
|
||||
{
|
||||
Settings node = settings.write["server"]["enemyAI"];
|
||||
node->String() = arg1.toUtf8().data();
|
||||
|
@ -35,10 +35,10 @@ public slots:
|
||||
private slots:
|
||||
void on_comboBoxResolution_currentTextChanged(const QString & arg1);
|
||||
void on_comboBoxFullScreen_currentIndexChanged(int index);
|
||||
void on_comboBoxPlayerAI_currentIndexChanged(const QString & arg1);
|
||||
void on_comboBoxFriendlyAI_currentIndexChanged(const QString & arg1);
|
||||
void on_comboBoxNeutralAI_currentIndexChanged(const QString & arg1);
|
||||
void on_comboBoxEnemyAI_currentIndexChanged(const QString & arg1);
|
||||
void on_comboBoxPlayerAI_currentTextChanged(const QString & arg1);
|
||||
void on_comboBoxFriendlyAI_currentTextChanged(const QString & arg1);
|
||||
void on_comboBoxNeutralAI_currentTextChanged(const QString & arg1);
|
||||
void on_comboBoxEnemyAI_currentTextChanged(const QString & arg1);
|
||||
void on_spinBoxNetworkPort_valueChanged(int arg1);
|
||||
void on_plainTextEditRepos_textChanged();
|
||||
void on_openTempDir_clicked();
|
||||
|
Loading…
Reference in New Issue
Block a user