Mesh: Apply clang-format

This commit is contained in:
wmayer
2023-09-23 00:29:09 +02:00
committed by wwmayer
parent 4e328682d9
commit 15b11bc360
78 changed files with 4221 additions and 3294 deletions

View File

@@ -34,8 +34,8 @@ using namespace MeshGui;
* Constructs a DlgSettingsMeshView which is a child of 'parent'.
*/
DlgSettingsMeshView::DlgSettingsMeshView(QWidget* parent)
: PreferencePage(parent)
, ui(new Ui_DlgSettingsMeshView)
: PreferencePage(parent)
, ui(new Ui_DlgSettingsMeshView)
{
ui->setupUi(this);
ui->labelBackfaceColor->hide();
@@ -64,9 +64,9 @@ void DlgSettingsMeshView::loadSettings()
{
Base::Reference<ParameterGrp> hGrp = Gui::WindowParameter::getDefaultParameter();
hGrp = hGrp->GetGroup("View");
if (!hGrp->GetBool("EnablePreselection",true) &&
!hGrp->GetBool("EnableSelection",true))
if (!hGrp->GetBool("EnablePreselection", true) && !hGrp->GetBool("EnableSelection", true)) {
ui->checkboxBoundbox->setDisabled(true);
}
ui->checkboxRendering->onRestore();
ui->checkboxBoundbox->onRestore();
ui->buttonMeshColor->onRestore();
@@ -81,7 +81,7 @@ void DlgSettingsMeshView::loadSettings()
/**
* Sets the strings of the subwidgets using the current language.
*/
void DlgSettingsMeshView::changeEvent(QEvent *e)
void DlgSettingsMeshView::changeEvent(QEvent* e)
{
if (e->type() == QEvent::LanguageChange) {
ui->retranslateUi(this);