summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gui/text/qtextlayout.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/text/qtextlayout.cpp b/src/gui/text/qtextlayout.cpp
index 3250e2831c..fb495dc821 100644
--- a/src/gui/text/qtextlayout.cpp
+++ b/src/gui/text/qtextlayout.cpp
@@ -599,7 +599,7 @@ bool QTextLayout::cacheEnabled() const
Sets the visual cursor movement style to the given \a style. If the
QTextLayout is backed by a document, you can ignore this and use the option
in QTextDocument, this option is for widgets like QLineEdit or custom
- widgets without a QTextDocument. Default value is QTextCursor::Logical.
+ widgets without a QTextDocument. Default value is Qt::LogicalMoveStyle.
\sa cursorMoveStyle()
*/