* @brief Clears the running flag and resets the consecutive-crash counter. */
| 117 | * @brief Clears the running flag and resets the consecutive-crash counter. |
| 118 | */ |
| 119 | void Misc::CrashTracker::markCleanExit() |
| 120 | { |
| 121 | m_settings.setValue(kKeyRunning, false); |
| 122 | m_settings.setValue(kKeyConsecutive, 0); |
| 123 | m_settings.remove(kKeyCheckpoint); |
| 124 | m_settings.sync(); |
| 125 | } |
| 126 | |
| 127 | //-------------------------------------------------------------------------------------------------- |
| 128 | // Checkpoint API |
no test coverage detected