mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-24 23:11:14 +01:00
Merge pull request #11938 from lioncash/inits
ParallelProgressDialog: Initialize all data members
This commit is contained in:
commit
b4d161ff29
@ -45,7 +45,7 @@ public:
|
|||||||
void SetValue(int progress) { emit SetValueSignal(progress); }
|
void SetValue(int progress) { emit SetValueSignal(progress); }
|
||||||
|
|
||||||
// Can be called from any thread
|
// Can be called from any thread
|
||||||
bool WasCanceled() { return m_was_cancelled.IsSet(); }
|
bool WasCanceled() const { return m_was_cancelled.IsSet(); }
|
||||||
|
|
||||||
signals:
|
signals:
|
||||||
void CancelSignal();
|
void CancelSignal();
|
||||||
@ -126,6 +126,6 @@ private:
|
|||||||
|
|
||||||
QProgressDialog m_dialog;
|
QProgressDialog m_dialog;
|
||||||
Common::Flag m_was_cancelled;
|
Common::Flag m_was_cancelled;
|
||||||
int m_last_received_progress;
|
int m_last_received_progress = 0;
|
||||||
bool m_is_setting_value = false;
|
bool m_is_setting_value = false;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user