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

Method askUserDefWave

src/gui/LfoControllerDialog.cpp:245–255  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

243
244
245void LfoControllerDialog::askUserDefWave()
246{
247 SampleBuffer * sampleBuffer = dynamic_cast<LfoController*>(this->model())->
248 m_userDefSampleBuffer;
249 QString fileName = sampleBuffer->openAndSetWaveformFile();
250 if( fileName.isEmpty() == false )
251 {
252 // TODO:
253 ToolTip::add( m_userWaveBtn, sampleBuffer->audioFile() );
254 }
255}
256
257
258

Callers

nothing calls this directly

Calls 4

addFunction · 0.85
modelMethod · 0.45
isEmptyMethod · 0.45

Tested by

no test coverage detected