Details
-
Bug
-
Resolution: Won't Do
-
P3: Somewhat important
-
None
-
5.4.0
Description
The QFuture default constructor documentation states that an empty, canceled future is constructed. However, the state is set to ‘Started | Finished | Canceled’ based on the code. Should it be just ‘Canceled’ when constructed?
Also the documentation should mention that isCanceled() returns true for just created future. If the code is right and the default state should be all three above mentioned, then the documentation should clearly state this too.