From b70894b9505f7aaec7afb7a24cc46649f52be63d Mon Sep 17 00:00:00 2001 From: Lioncash Date: Mon, 12 Jun 2023 09:36:49 -0400 Subject: [PATCH] ParallelProgressDialog: Initialize all data members Ensures we always have a deterministic state. --- Source/Core/DolphinQt/QtUtils/ParallelProgressDialog.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/DolphinQt/QtUtils/ParallelProgressDialog.h b/Source/Core/DolphinQt/QtUtils/ParallelProgressDialog.h index 4335ec4b9f..3d8d92344c 100644 --- a/Source/Core/DolphinQt/QtUtils/ParallelProgressDialog.h +++ b/Source/Core/DolphinQt/QtUtils/ParallelProgressDialog.h @@ -126,6 +126,6 @@ private: QProgressDialog m_dialog; Common::Flag m_was_cancelled; - int m_last_received_progress; + int m_last_received_progress = 0; bool m_is_setting_value = false; };