diff options
author | Samuel Rødal <samuel.rodal@nokia.com> | 2010-12-22 08:34:37 (GMT) |
---|---|---|
committer | Samuel Rødal <samuel.rodal@nokia.com> | 2010-12-22 09:03:38 (GMT) |
commit | 53f52118efd7587fe604f3d3dd898fa9464809a0 (patch) | |
tree | ddf6d6f84e022d0bed22c4b03d618fbfc94d7b3f /src/gui | |
parent | 749387a203737e49fb44ce7001ed78ba5512583d (diff) | |
download | Qt-53f52118efd7587fe604f3d3dd898fa9464809a0.zip Qt-53f52118efd7587fe604f3d3dd898fa9464809a0.tar.gz Qt-53f52118efd7587fe604f3d3dd898fa9464809a0.tar.bz2 |
Made documentation of QPixmap::createMaskFromColor match behaviour.
Task-number: QTBUG-16223
Reviewed-by: Gunnar Sletta
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/image/qpixmap.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/image/qpixmap.cpp b/src/gui/image/qpixmap.cpp index c5d9a7e..3a7be1d 100644 --- a/src/gui/image/qpixmap.cpp +++ b/src/gui/image/qpixmap.cpp @@ -775,8 +775,8 @@ QBitmap QPixmap::createHeuristicMask(bool clipTight) const /*! Creates and returns a mask for this pixmap based on the given \a maskColor. If the \a mode is Qt::MaskInColor, all pixels matching the - maskColor will be opaque. If \a mode is Qt::MaskOutColor, all pixels - matching the maskColor will be transparent. + maskColor will be transparent. If \a mode is Qt::MaskOutColor, all pixels + matching the maskColor will be opaque. This function is slow because it involves converting to/from a QImage. |