ParallelProgressDialog: Mark WasCanceled() as const
This doesn't alter any class state.
This commit is contained in:
parent
b70894b950
commit
9c0cd5c81a
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue