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

Method loadSettings

src/core/PeakController.cpp:150–169  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148
149
150void PeakController::loadSettings( const QDomElement & _this )
151{
152 Controller::loadSettings( _this );
153
154 int effectId = _this.attribute( "effectId" ).toInt();
155 if( m_buggedFile == true )
156 {
157 effectId = m_loadCount++;
158 }
159
160 PeakControllerEffectVector::Iterator i;
161 for( i = s_effects.begin(); i != s_effects.end(); ++i )
162 {
163 if( (*i)->m_effectId == effectId )
164 {
165 m_peakEffect = *i;
166 return;
167 }
168 }
169}
170
171
172

Callers

nothing calls this directly

Calls 3

loadSettingsFunction · 0.50
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected