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

Method loadSettings

plugins/sfxr/sfxr.h:136–143  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

134 }
135 /* purpose: prevent the initial value of the model from being changed */
136 virtual void loadSettings( const QDomElement& element, const QString& name = QString( "value" ) )
137 {
138 float oldInitValue = initValue();
139 FloatModel::loadSettings(element, name);
140 float oldValue = value();
141 setInitValue(oldInitValue);
142 setValue(oldValue);
143 }
144};
145
146/**

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