-
Bug
-
Resolution: Done
-
P4: Low
-
5.3.1
-
None
-
Ubuntu 14.04
...although cancel() was not called. Compare the documentation for isCanceled():
Returns true if the asynchronous computation has been canceled with the cancel() function; otherwise returns false.
qDebug() << QFuture<void>().isCanceled();
...results in "true". But it should be "false"?! If not please state this clearly in the documentation.
For Gerrit Dashboard: QTBUG-40680 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
91798,1 | Document that default-constructed QFuture are cancelled | dev | qt/qtbase | Status: ABANDONED | 0 | 0 |
91838,3 | Document that default-constructed QFuture are canceled | 5.3 | qt/qtbase | Status: MERGED | +2 | 0 |
91870,1 | Document that default-constructed QFuture are canceled | 5.4 | qt/qtbase | Status: ABANDONED | +1 | 0 |