* @brief Records the current boot/runtime stage so a later crash can be attributed. */
| 132 | * @brief Records the current boot/runtime stage so a later crash can be attributed. |
| 133 | */ |
| 134 | void Misc::CrashTracker::setCheckpoint(const QString& name) |
| 135 | { |
| 136 | m_settings.setValue(kKeyCheckpoint, name); |
| 137 | m_settings.sync(); |
| 138 | } |
| 139 | |
| 140 | //-------------------------------------------------------------------------------------------------- |
| 141 | // User-facing recovery |