summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTrond Kjernåsen <trond@trolltech.com>2010-03-08 14:14:18 (GMT)
committerTrond Kjernåsen <trond@trolltech.com>2010-03-08 14:17:32 (GMT)
commitb1c6482eaa8edd01077ac79ba390389bf6f8c71f (patch)
tree973da81aced84f142b3db480d29804bdc136a4a9
parent41437f55f911b32d17ed153a14eb1b1673f17c86 (diff)
downloadQt-b1c6482eaa8edd01077ac79ba390389bf6f8c71f.zip
Qt-b1c6482eaa8edd01077ac79ba390389bf6f8c71f.tar.gz
Qt-b1c6482eaa8edd01077ac79ba390389bf6f8c71f.tar.bz2
Updated the QCursor docs regarding XOR'ed cursors.
XOR'ed cursors under X11 or Mac OS X have never been supported by Qt, and the doc updates done some time ago where not correct. Task-number: related to QTBUG-1838 Reviewed-by: Gunnar
-rw-r--r--src/gui/kernel/qcursor.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/kernel/qcursor.cpp b/src/gui/kernel/qcursor.cpp
index 0f0470c..6b21d56 100644
--- a/src/gui/kernel/qcursor.cpp
+++ b/src/gui/kernel/qcursor.cpp
@@ -342,7 +342,8 @@ QCursor::QCursor(const QPixmap &pixmap, int hotX, int hotY)
\o B=1 and M=1 gives black.
\o B=0 and M=1 gives white.
\o B=0 and M=0 gives transparent.
- \o B=1 and M=0 gives an XOR'd result.
+ \o B=1 and M=0 gives an XOR'd result under Windows, undefined
+ results on all other platforms.
\endlist
Use the global Qt color Qt::color0 to draw 0-pixels and Qt::color1 to