summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorLioncash <mai.iam2048@gmail.com>2023-06-12 09:36:49 -0400
committerLioncash <mai.iam2048@gmail.com>2023-06-12 09:36:51 -0400
commitb70894b9505f7aaec7afb7a24cc46649f52be63d (patch)
treec9aaa6235410417ed4c6e89e11d197f06f1bf484 /Source/Core
parent3ce06ae202f1fce261998c42c2c3a6701b16c8dd (diff)
ParallelProgressDialog: Initialize all data members
Ensures we always have a deterministic state.
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/DolphinQt/QtUtils/ParallelProgressDialog.h2
1 files changed, 1 insertions, 1 deletions
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;
};