summaryrefslogtreecommitdiffstats
path: root/src/gui/image/qimage.cpp
diff options
context:
space:
mode:
authorGeir Vattekar <geir.vattekar@nokia.com>2011-03-17 13:08:34 +0100
committerGeir Vattekar <geir.vattekar@nokia.com>2011-03-17 13:08:34 +0100
commita09903cd713f94508b599d7723725295821775a5 (patch)
tree2ff8eb90901dcb83478d361c631cf2b8e0afec2d /src/gui/image/qimage.cpp
parent86724150c8117dd2fbfa117a642dce57176e5e23 (diff)
Doc: Fixed reference to absolete API in exceptionsafety.html
Task-number: QTBUG-14445 Reviewed-by: Jerome Pasion
Diffstat (limited to 'src/gui/image/qimage.cpp')
-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 168c5181e2..441bdb1a4a 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.