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

Method loadClicked

plugins/watsyn/Watsyn.cpp:1199–1221  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1197
1198
1199void WatsynView::loadClicked()
1200{
1201 QString fileName;
1202 switch( m_selectedGraphGroup->model()->value() )
1203 {
1204 case A1_OSC:
1205 a1_graph->model()->setWaveToUser();
1206 Engine::getSong()->setModified();
1207 break;
1208 case A2_OSC:
1209 a2_graph->model()->setWaveToUser();
1210 Engine::getSong()->setModified();
1211 break;
1212 case B1_OSC:
1213 b1_graph->model()->setWaveToUser();
1214 Engine::getSong()->setModified();
1215 break;
1216 case B2_OSC:
1217 b2_graph->model()->setWaveToUser();
1218 Engine::getSong()->setModified();
1219 break;
1220 }
1221}
1222
1223
1224void WatsynView::modelChanged()

Callers

nothing calls this directly

Calls 5

getSongFunction · 0.85
setWaveToUserMethod · 0.80
setModifiedMethod · 0.80
valueMethod · 0.45
modelMethod · 0.45

Tested by

no test coverage detected