mirror of
https://github.com/vcmi/vcmi.git
synced 2024-11-24 08:32:34 +02:00
Formatting fix
This commit is contained in:
parent
5f4a998435
commit
df3d62c5bc
@ -163,7 +163,6 @@ QVariant CModListModel::headerData(int section, Qt::Orientation orientation, int
|
|||||||
|
|
||||||
void CModListModel::reloadRepositories()
|
void CModListModel::reloadRepositories()
|
||||||
{
|
{
|
||||||
//emit headerDataChanged(Qt::Horizontal, 0, -1 );
|
|
||||||
beginResetModel();
|
beginResetModel();
|
||||||
endResetModel();
|
endResetModel();
|
||||||
}
|
}
|
||||||
|
@ -87,7 +87,6 @@ void CSettingsView::loadSettings()
|
|||||||
ui->comboBoxFullScreen->setDisabled(true);
|
ui->comboBoxFullScreen->setDisabled(true);
|
||||||
#else
|
#else
|
||||||
ui->comboBoxFullScreen->setCurrentIndex(settings["video"]["fullscreen"].Bool());
|
ui->comboBoxFullScreen->setCurrentIndex(settings["video"]["fullscreen"].Bool());
|
||||||
//ui->checkBoxFullScreen->setChecked(settings["video"]["realFullscreen"].Bool());
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
ui->comboBoxFriendlyAI->setCurrentText(QString::fromStdString(settings["server"]["friendlyAI"].String()));
|
ui->comboBoxFriendlyAI->setCurrentText(QString::fromStdString(settings["server"]["friendlyAI"].String()));
|
||||||
@ -209,8 +208,8 @@ void CSettingsView::on_comboBoxFullScreen_currentIndexChanged(int index)
|
|||||||
{
|
{
|
||||||
Settings nodeFullscreen = settings.write["video"]["fullscreen"];
|
Settings nodeFullscreen = settings.write["video"]["fullscreen"];
|
||||||
Settings nodeRealFullscreen = settings.write["video"]["realFullscreen"];
|
Settings nodeRealFullscreen = settings.write["video"]["realFullscreen"];
|
||||||
nodeFullscreen->Bool() = index != 0;
|
nodeFullscreen->Bool() = (index != 0);
|
||||||
nodeFullscreen->Bool() = index == 2;
|
nodeRealFullscreen->Bool() = (index == 2);
|
||||||
}
|
}
|
||||||
|
|
||||||
void CSettingsView::on_comboBoxAutoCheck_currentIndexChanged(int index)
|
void CSettingsView::on_comboBoxAutoCheck_currentIndexChanged(int index)
|
||||||
|
Loading…
Reference in New Issue
Block a user