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

Method setEnabled

app/src/Misc/BackupManager.cpp:372–377  ·  view source on GitHub ↗

* @brief Toggle the backup pipeline (used by tests / headless tooling). */

Source from the content-addressed store, hash-verified

370 * @brief Toggle the backup pipeline (used by tests / headless tooling).
371 */
372void Misc::BackupManager::setEnabled(bool on) noexcept
373{
374 m_enabled = on;
375 if (!on)
376 m_debounceTimer->stop();
377}
378
379//--------------------------------------------------------------------------------------------------
380// Slots

Callers 3

onQuitMethod · 0.45

Calls 1

stopMethod · 0.45

Tested by

no test coverage detected