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

InstrumentsEditController: rm unused fct

parent 3a344915
No related branches found
No related tags found
1 merge request!1415minor cleanup
......@@ -29,14 +29,6 @@ void InstrumentEditController::setInstrumentName(const QString& name)
m_ec->setInstrumentName(m_instrumentItem, name);
}
void InstrumentEditController::setDouble(DoubleProperty& d, double newValue)
{
if (d.value() != newValue) {
d.setValue(newValue);
m_ec->instrumentChanged(m_instrumentItem);
}
}
void InstrumentEditController::notifyInstrumentChanged()
{
m_ec->instrumentChanged(m_instrumentItem);
......
......@@ -41,9 +41,6 @@ public:
//! The signal is emitted by the parent InstrumentsEditController.
void setInstrumentName(const QString& name);
//! Sets the double and emits InstrumentsEditController::instrumentChanged if the double changed
void setDouble(DoubleProperty& d, double newValue);
//! Call this if any instrument value has been changed outside this controller.
//!
//! emits InstrumentsEditController::instrumentChanged
......
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