ParallelProgressDialog: Mark WasCanceled() as const

This doesn't alter any class state.
This commit is contained in:
Lioncash 2023-06-12 09:38:08 -04:00
parent b70894b950
commit 9c0cd5c81a
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ public:
void SetValue(int progress) { emit SetValueSignal(progress); }
// Can be called from any thread
bool WasCanceled() { return m_was_cancelled.IsSet(); }
bool WasCanceled() const { return m_was_cancelled.IsSet(); }
signals:
void CancelSignal();