diff options
author | Clemens Werther <clemens.werther@gmail.com> | 2022-03-02 00:20:54 +0100 |
---|---|---|
committer | Clemens Werther <clemens.werther@gmail.com> | 2022-03-03 09:54:07 +0100 |
commit | 5495eb9ec25f086ec24cee2e062f9b1c16fe52e8 (patch) | |
tree | f0a053b2337375f34eba67e06fe68623468dacf5 /src/gui/util | |
parent | 66a76a5def46d0e4a330f7130ad440c639b87cf7 (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.cpp | 4 |
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() */ |