summaryrefslogtreecommitdiffstats
path: root/src/gui/image
diff options
context:
space:
mode:
authorGeir Vattekar <geir.vattekar@nokia.com>2011-03-17 12:08:34 (GMT)
committerGeir Vattekar <geir.vattekar@nokia.com>2011-03-17 12:08:34 (GMT)
commita09903cd713f94508b599d7723725295821775a5 (patch)
tree2ff8eb90901dcb83478d361c631cf2b8e0afec2d /src/gui/image
parent86724150c8117dd2fbfa117a642dce57176e5e23 (diff)
downloadQt-a09903cd713f94508b599d7723725295821775a5.zip
Qt-a09903cd713f94508b599d7723725295821775a5.tar.gz
Qt-a09903cd713f94508b599d7723725295821775a5.tar.bz2
Doc: Fixed reference to absolete API in exceptionsafety.html
Task-number: QTBUG-14445 Reviewed-by: Jerome Pasion
Diffstat (limited to 'src/gui/image')
-rw-r--r--src/gui/image/qimage.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/image/qimage.cpp b/src/gui/image/qimage.cpp
index 168c518..441bdb1 100644
--- a/src/gui/image/qimage.cpp
+++ b/src/gui/image/qimage.cpp
@@ -833,6 +833,8 @@ QImage::QImage()
Constructs an image with the given \a width, \a height and \a
format.
+ A \l{isNull()}{null} image will be returned if memory cannot be allocated.
+
\warning This will create a QImage with uninitialized data. Call
fill() to fill the image with an appropriate pixel value before
drawing onto it with QPainter.
@@ -846,6 +848,8 @@ QImage::QImage(int width, int height, Format format)
/*!
Constructs an image with the given \a size and \a format.
+ A \l{isNull()}{null} image is returned if memory cannot be allocated.
+
\warning This will create a QImage with uninitialized data. Call
fill() to fill the image with an appropriate pixel value before
drawing onto it with QPainter.