summaryrefslogtreecommitdiffstats
path: root/src/gui/image/qimage.cpp
diff options
context:
space:
mode:
authorKim Motoyoshi Kalland <kim.kalland@nokia.com>2010-12-13 12:56:36 +0100
committerKim Motoyoshi Kalland <kim.kalland@nokia.com>2010-12-13 12:58:27 +0100
commit6902cd0d68c63e3a0d0dd1593a77f54c002ae363 (patch)
tree81355870fc725b9e7ba6d36f62b1a4e2ce929bab /src/gui/image/qimage.cpp
parent18dfe6da07eb9ea7beb3cf2b0ea8291d62832efb (diff)
Corrected documentation for QImage::fill().
Reviewed-by: Samuel
Diffstat (limited to 'src/gui/image/qimage.cpp')
-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 bb94788c03..897cb6418f 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
*/