summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorClemens Werther <clemens.werther@gmail.com>2022-03-02 00:20:54 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2022-03-03 13:46:22 +0000
commitea39203474658314c81e3a45bcb4bd849753eda1 (patch)
tree44abbad722c82324fef04f2d12cf56a1d236a321 /src
parent5db7260975e3978bd5d502550f0d1308a69fb5ea (diff)
Fix off-by-one for "typically" lowest value INT_MIN
Change-Id: I0e1115dc21e700dc79fb54be953573c75b41e70f Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> (cherry picked from commit 5495eb9ec25f086ec24cee2e062f9b1c16fe52e8) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src')
-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()
*/