MCPcopy Create free account
hub / github.com/Denvi/Candle / loadFile

Method loadFile

src/candle/script/scriptapp.cpp:28–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26}
27
28bool ScriptApp::loadFile(QString fileName)
29{
30 if (m_frmMain->m_senderState != frmMain::SenderState::SenderStopped) {
31 qInfo(scriptLogCategory) << "Can't load file while sender is streaming";
32 return false;
33 }
34
35 if (!m_frmMain->saveChanges(false)) return false;
36
37 m_frmMain->loadFile(fileName);
38
39 return true;
40}
41
42bool ScriptApp::loadFile(QStringList data)
43{

Callers

nothing calls this directly

Calls 2

saveChangesMethod · 0.45
newFileMethod · 0.45

Tested by

no test coverage detected