MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / clearJsonFilePath

Method clearJsonFilePath

app/src/DataModel/ProjectModel.cpp:2249–2255  ·  view source on GitHub ↗

* @brief Clears the project file path without changing project data. */

Source from the content-addressed store, hash-verified

2247 * @brief Clears the project file path without changing project data.
2248 */
2249void DataModel::ProjectModel::clearJsonFilePath()
2250{
2251 if (!m_filePath.isEmpty()) {
2252 m_filePath.clear();
2253 Q_EMIT jsonFileChanged();
2254 }
2255}
2256
2257/**
2258 * @brief Sets the frame start delimiter sequence.

Callers

nothing calls this directly

Calls 2

isEmptyMethod · 0.80
clearMethod · 0.45

Tested by

no test coverage detected