summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSze Howe Koh <szehowe.koh@gmail.com>2021-02-01 22:58:31 +0800
committerTarja Sundqvist <tarja.sundqvist@qt.io>2021-04-12 09:38:03 +0300
commit9f5b2e345deb4bef784350f180da119257dded3b (patch)
tree22e353ebb2543b7c3988a3546c8cb312b3e19a42
parentd6ae54adba0058b0deb064421fcea3ceaef35ed1 (diff)
Doc: Fix return type of QCursor::shape()
QCursor::shape() returned an int in Qt 3 but returned Qt::CursorShape since Qt 4. Change-Id: I6da9da9bed35c09943a074e7e3a618bce7797ceb Reviewed-by: Samuel Gaist <samuel.gaist@idiap.ch> Reviewed-by: Paul Wicking <paul.wicking@qt.io> (cherry picked from commit 30ac9d5db4ff40b8a09c376c27acde770dc61e02)
-rw-r--r--src/gui/kernel/qcursor.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/kernel/qcursor.cpp b/src/gui/kernel/qcursor.cpp
index d66cadde79..8ca3ee8c42 100644
--- a/src/gui/kernel/qcursor.cpp
+++ b/src/gui/kernel/qcursor.cpp
@@ -529,8 +529,7 @@ bool operator==(const QCursor &lhs, const QCursor &rhs) noexcept
*/
/*!
- Returns the cursor shape identifier. The return value is one of
- the \l Qt::CursorShape enum values (cast to an int).
+ Returns the cursor shape identifier.
\sa setShape()
*/