MCPcopy Create free account
hub / github.com/LMMS/lmms / loadSettings

Method loadSettings

plugins/sfxr/sfxr.h:157–164  ·  view source on GitHub ↗

purpose: prevent the initial value of the model from being changed */

Source from the content-addressed store, hash-verified

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
167class sfxrInstrument : public Instrument

Callers

nothing calls this directly

Calls 4

initValueFunction · 0.85
QStringClass · 0.50
loadSettingsFunction · 0.50
valueFunction · 0.50

Tested by

no test coverage detected