mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
ParallelProgressDialog: Mark WasCanceled() as const
This doesn't alter any class state.
This commit is contained in:
@ -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();
|
||||||
|
Reference in New Issue
Block a user