[Sketch] remove unused code
fixes bug #4522 as discussed in https://forum.freecadweb.org/viewtopic.php?f=10&t=53587&p=460823#p460777 also remove superfluous verticalSpacer
This commit is contained in:
@@ -231,14 +231,6 @@ SketcherSettingsColors::SketcherSettingsColors(QWidget* parent)
|
||||
: PreferencePage(parent), ui(new Ui_SketcherSettingsColors)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
|
||||
// Don't need them at the moment
|
||||
ui->label_16->hide();
|
||||
ui->SketcherDatumWidth->hide();
|
||||
ui->label_12->hide();
|
||||
ui->DefaultSketcherVertexWidth->hide();
|
||||
ui->label_13->hide();
|
||||
ui->DefaultSketcherLineWidth->hide();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -272,10 +264,6 @@ void SketcherSettingsColors::saveSettings()
|
||||
ui->ExprBasedConstrDimColor->onSave();
|
||||
ui->DeactivatedConstrDimColor->onSave();
|
||||
|
||||
ui->SketcherDatumWidth->onSave();
|
||||
ui->DefaultSketcherVertexWidth->onSave();
|
||||
ui->DefaultSketcherLineWidth->onSave();
|
||||
|
||||
ui->CursorTextColor->onSave();
|
||||
ui->CursorCrosshairColor->onSave();
|
||||
ui->CreateLineColor->onSave();
|
||||
@@ -303,10 +291,6 @@ void SketcherSettingsColors::loadSettings()
|
||||
ui->ExprBasedConstrDimColor->onRestore();
|
||||
ui->DeactivatedConstrDimColor->onRestore();
|
||||
|
||||
ui->SketcherDatumWidth->onRestore();
|
||||
ui->DefaultSketcherVertexWidth->onRestore();
|
||||
ui->DefaultSketcherLineWidth->onRestore();
|
||||
|
||||
ui->CursorTextColor->onRestore();
|
||||
ui->CursorCrosshairColor->onRestore();
|
||||
ui->CreateLineColor->onRestore();
|
||||
|
||||
Reference in New Issue
Block a user