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

Method onProjectModifiedChanged

app/src/Misc/BackupManager.cpp:398–407  ·  view source on GitHub ↗

* @brief Debounce a snapshot when the project becomes modified. */

Source from the content-addressed store, hash-verified

396 * @brief Debounce a snapshot when the project becomes modified.
397 */
398void Misc::BackupManager::onProjectModifiedChanged()
399{
400 if (!m_enabled)
401 return;
402
403 if (!DataModel::ProjectModel::instance().modified())
404 return;
405
406 m_debounceTimer->start();
407}
408
409/**
410 * @brief Debounce a snapshot for an edit the dirty flag suppresses (e.g. parser-only changes on a

Callers

nothing calls this directly

Calls 2

modifiedMethod · 0.80
startMethod · 0.45

Tested by

no test coverage detected