Skip to content
Snippets Groups Projects
Commit ffa83fe3 authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

rm unused fct

parent 70727594
No related branches found
No related tags found
1 merge request!2058GUI instrument editor: detector section made more compact
......@@ -67,18 +67,6 @@ DoubleSpinBox* DetectorAlignmentForm::createSpinBox(QFormLayout* parentFormLayou
return sb;
}
DoubleSpinBox* DetectorAlignmentForm::createSpinBox(DoubleProperty& d)
{
auto* sb = new DoubleSpinBox(d);
connect(sb, &DoubleSpinBox::baseValueChanged, [this, &d](double v) {
if (d.value() != v) {
d.setValue(v);
emit dataChanged();
}
});
return sb;
}
void DetectorAlignmentForm::createAligmentWidgets()
{
GUI::Util::Layout::clearLayout(m_formLayout);
......
......@@ -38,7 +38,6 @@ signals:
private:
void createAligmentWidgets();
DoubleSpinBox* createSpinBox(QFormLayout* parentFormLayout, DoubleProperty& d);
DoubleSpinBox* createSpinBox(DoubleProperty& d);
DetectorItem* m_item;
QFormLayout* m_formLayout;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment