Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
None
-
6.0
-
None
-
3
-
1d8dd9a02c9715561b365007f1520e41fe64e703
-
Qt6_Foundation_Sprint 22
Description
Current QFutureInterface progress functionality supports setting a value out of range:
QFutureInterface<int> iface; iface.setProgressRange(0, 2); iface.setProgressValue(10); // outside of [0, 2] range iface.progressValue(); // returns 10
This didn't affect us so far due to QFutureInterface being an "internal" public class. With QPromise being introduced, this would be a visible public functionality.