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

Method newFile

src/candle/script/scriptapp.cpp:14–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12}
13
14bool ScriptApp::newFile()
15{
16 if (m_frmMain->m_senderState != frmMain::SenderState::SenderStopped) {
17 qInfo(scriptLogCategory) << "Can't create new file while sender is streaming";
18 return false;
19 }
20
21 if (!m_frmMain->saveChanges(false)) return false;
22
23 m_frmMain->newFile();
24
25 return true;
26}
27
28bool ScriptApp::loadFile(QString fileName)
29{

Callers 1

loadFileMethod · 0.45

Calls 1

saveChangesMethod · 0.45

Tested by

no test coverage detected