diff options
author | Geir Vattekar <geir.vattekar@nokia.com> | 2011-03-17 12:08:34 (GMT) |
---|---|---|
committer | Geir Vattekar <geir.vattekar@nokia.com> | 2011-03-17 12:08:34 (GMT) |
commit | a09903cd713f94508b599d7723725295821775a5 (patch) | |
tree | 2ff8eb90901dcb83478d361c631cf2b8e0afec2d /src | |
parent | 86724150c8117dd2fbfa117a642dce57176e5e23 (diff) | |
download | Qt-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')
-rw-r--r-- | src/gui/image/qimage.cpp | 4 |
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. |