* @brief Flushes any pending debounced autosave synchronously (called on app quit). */
| 7672 | * @brief Flushes any pending debounced autosave synchronously (called on app quit). |
| 7673 | */ |
| 7674 | void DataModel::ProjectModel::flushAutoSave() |
| 7675 | { |
| 7676 | if (m_autoSaveTimer && m_autoSaveTimer->isActive()) |
| 7677 | m_autoSaveTimer->stop(); |
| 7678 | |
| 7679 | autoSave(); |
| 7680 | } |
| 7681 | |
| 7682 | /** |
| 7683 | * @brief Starts the debounced autosave when saving is currently permitted; the API mutation |
no test coverage detected