purpose: prevent the initial value of the model from being changed */
| 155 | } |
| 156 | /* purpose: prevent the initial value of the model from being changed */ |
| 157 | virtual void loadSettings( const QDomElement& element, const QString& name = QString( "value" ) ) |
| 158 | { |
| 159 | float oldInitValue = initValue(); |
| 160 | FloatModel::loadSettings(element, name); |
| 161 | float oldValue = value(); |
| 162 | setInitValue(oldInitValue); |
| 163 | setValue(oldValue); |
| 164 | } |
| 165 | }; |
| 166 | |
| 167 | class sfxrInstrument : public Instrument |
nothing calls this directly
no test coverage detected