ParallelProgressDialog: Mark WasCanceled() as const
This doesn't alter any class state.
This commit is contained in:
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();
|
||||
|
||||
Reference in new issue
Block a user