ParallelProgressDialog: Mark WasCanceled() as const

This doesn't alter any class state.
This commit is contained in:
Lioncash committed 2023-06-12 09:38:10 -04:00
1 parent b70894b950
commit 9c0cd5c81a
1 file changed
+1 -1
@@ -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();