summaryrefslogtreecommitdiffstats
path: root/src/gui/image
diff options
context:
space:
mode:
authorKim Motoyoshi Kalland <kim.kalland@nokia.com>2010-12-13 11:56:36 (GMT)
committerKim Motoyoshi Kalland <kim.kalland@nokia.com>2010-12-13 11:58:27 (GMT)
commit6902cd0d68c63e3a0d0dd1593a77f54c002ae363 (patch)
tree81355870fc725b9e7ba6d36f62b1a4e2ce929bab /src/gui/image
parent18dfe6da07eb9ea7beb3cf2b0ea8291d62832efb (diff)
downloadQt-6902cd0d68c63e3a0d0dd1593a77f54c002ae363.zip
Qt-6902cd0d68c63e3a0d0dd1593a77f54c002ae363.tar.gz
Qt-6902cd0d68c63e3a0d0dd1593a77f54c002ae363.tar.bz2
Corrected documentation for QImage::fill().
Reviewed-by: Samuel
Diffstat (limited to 'src/gui/image')
-rw-r--r--src/gui/image/qimage.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/image/qimage.cpp b/src/gui/image/qimage.cpp
index bb94788c..897cb64 100644
--- a/src/gui/image/qimage.cpp
+++ b/src/gui/image/qimage.cpp
@@ -2018,11 +2018,11 @@ void QImage::fill(Qt::GlobalColor color)
Fills the entire image with the given \a color.
If the depth of the image is 1, the image will be filled with 1 if
- \a color equals Qt::color0; it will otherwise be filled with 0.
+ \a color equals Qt::color1; it will otherwise be filled with 0.
If the depth of the image is 8, the image will be filled with the
index corresponding the \a color in the color table if present; it
- will otherwise be filled with 0.|
+ will otherwise be filled with 0.
\since 4.8
*/