diff --git a/src/platform/qt/CoreController.h b/src/platform/qt/CoreController.h index 8f89c5858..fe4eb542d 100644 --- a/src/platform/qt/CoreController.h +++ b/src/platform/qt/CoreController.h @@ -230,7 +230,7 @@ private: bool m_autosave; bool m_autoload; - int m_autosaveCounter; + int m_autosaveCounter = 0; int m_fastForward = false; int m_fastForwardForced = false;