summaryrefslogtreecommitdiffstats
path: root/src/gui/util
diff options
context:
space:
mode:
authorClemens Werther <clemens.werther@gmail.com>2022-03-02 00:20:54 +0100
committerClemens Werther <clemens.werther@gmail.com>2022-03-03 09:54:07 +0100
commit5495eb9ec25f086ec24cee2e062f9b1c16fe52e8 (patch)
treef0a053b2337375f34eba67e06fe68623468dacf5 /src/gui/util
parent66a76a5def46d0e4a330f7130ad440c639b87cf7 (diff)
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>
Diffstat (limited to 'src/gui/util')
-rw-r--r--src/gui/util/qvalidator.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/util/qvalidator.cpp b/src/gui/util/qvalidator.cpp
index 00e52f31e4..f604f38d9b 100644
--- a/src/gui/util/qvalidator.cpp
+++ b/src/gui/util/qvalidator.cpp
@@ -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()
*/