Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.14.0, 5.14.1
-
ce55667b62e77902c18d9a2a62e5e323516159d7 (qt/qtbase/5.14)
Description
When setSmallDecimalPoint is set to true for QLCDNumber, it is giving the following warning:
Using QCharRef with an index pointing outside the valid range of a QString. The corresponding behavior is deprecated, and will be changed in a future version of Qt.
Sample code is simple:
QLCDNumber *n = new QLCDNumber(this); n->setSmallDecimalPoint(true); n->display(123);
It does not make any sense of this warning here. The warning is seen in 5.14.0 and 5.14.1