diff --git a/launcher/modManager/cmodlistmodel_moc.cpp b/launcher/modManager/cmodlistmodel_moc.cpp index 59e325241..7e9622f26 100644 --- a/launcher/modManager/cmodlistmodel_moc.cpp +++ b/launcher/modManager/cmodlistmodel_moc.cpp @@ -163,7 +163,6 @@ QVariant CModListModel::headerData(int section, Qt::Orientation orientation, int void CModListModel::reloadRepositories() { - //emit headerDataChanged(Qt::Horizontal, 0, -1 ); beginResetModel(); endResetModel(); } diff --git a/launcher/settingsView/csettingsview_moc.cpp b/launcher/settingsView/csettingsview_moc.cpp index a13b076eb..58723bdad 100644 --- a/launcher/settingsView/csettingsview_moc.cpp +++ b/launcher/settingsView/csettingsview_moc.cpp @@ -87,7 +87,6 @@ void CSettingsView::loadSettings() ui->comboBoxFullScreen->setDisabled(true); #else ui->comboBoxFullScreen->setCurrentIndex(settings["video"]["fullscreen"].Bool()); - //ui->checkBoxFullScreen->setChecked(settings["video"]["realFullscreen"].Bool()); #endif 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 nodeRealFullscreen = settings.write["video"]["realFullscreen"]; - nodeFullscreen->Bool() = index != 0; - nodeFullscreen->Bool() = index == 2; + nodeFullscreen->Bool() = (index != 0); + nodeRealFullscreen->Bool() = (index == 2); } void CSettingsView::on_comboBoxAutoCheck_currentIndexChanged(int index)