summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@digia.com>2013-06-03 18:00:57 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-06-04 02:22:47 +0200
commit46e6bbd22991dd62040ee1eb24433b5f7316793a (patch)
tree167824b743faad89999a9cddfb7b210a23f39477 /src
parent830cbb1aaf047d8f0ab63f25148b7dc7cc9f8fe0 (diff)
Mention QRect's int min/max constraints in detailed description.
Task-number: QTBUG-25732 Change-Id: If330768c3075568f09593ed17f26389d3dec3335 Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Diffstat (limited to 'src')
-rw-r--r--src/corelib/tools/qrect.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/corelib/tools/qrect.cpp b/src/corelib/tools/qrect.cpp
index e197fd9178..41b2b266ee 100644
--- a/src/corelib/tools/qrect.cpp
+++ b/src/corelib/tools/qrect.cpp
@@ -201,6 +201,12 @@ QT_BEGIN_NAMESPACE
function to manipulate the rectangle's coordinates and dimensions
in one go.
+ \section1 Constraints
+
+ QRect is limited to the minimum and maximum values for the \c int type.
+ Operations on a QRect that could potentially result in values outside this
+ range will result in undefined behavior.
+
\sa QRectF, QRegion
*/