Fix off-by-one for "typically" lowest value INT_MIN

Pick-to: 6.3 6.2 5.15
Change-Id: I0e1115dc21e700dc79fb54be953573c75b41e70f
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
This commit is contained in:
Clemens Werther 2022-03-02 00:20:54 +01:00
parent 66a76a5def
commit 5495eb9ec2

View File

@ -491,7 +491,7 @@ void QIntValidator::setRange(int bottom, int top)
\brief the validator's lowest acceptable value
By default, this property's value is derived from the lowest signed
integer available (typically -2147483647).
integer available (-2147483648).
\sa setRange()
*/
@ -505,7 +505,7 @@ void QIntValidator::setBottom(int bottom)
\brief the validator's highest acceptable value
By default, this property's value is derived from the highest signed
integer available (typically 2147483647).
integer available (2147483647).
\sa setRange()
*/