* @brief Suspends or resumes the debounced autosave (used by the API batch endpoint). */
| 7698 | * @brief Suspends or resumes the debounced autosave (used by the API batch endpoint). |
| 7699 | */ |
| 7700 | void DataModel::ProjectModel::setAutoSaveSuspended(bool suspend) |
| 7701 | { |
| 7702 | if (m_autoSaveSuspended == suspend) |
| 7703 | return; |
| 7704 | |
| 7705 | m_autoSaveSuspended = suspend; |
| 7706 | if (suspend && m_autoSaveTimer) |
| 7707 | m_autoSaveTimer->stop(); |
| 7708 | } |
| 7709 | |
| 7710 | /** |
| 7711 | * @brief Atomically serializes the current project to @p path. |
no test coverage detected