summaryrefslogtreecommitdiffstats
path: root/src/widgets/widgets/qlineedit.cpp
diff options
context:
space:
mode:
authorGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2013-08-29 12:40:47 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-08-29 13:29:14 +0200
commit4ffa60e03a6ef1a7b8c8458377697b25c07eda8b (patch)
tree162e7941eddcbe5ea1673bd5961827db968238d2 /src/widgets/widgets/qlineedit.cpp
parent62645266590cfff620c4629ba85d8b9903c1f313 (diff)
Update QLineEdit::placeholderText property documentation
eeb31ad10a1c1b26233f383de6d1b2b217cde08f changed the behavior and allowed the placeholder text to stay visible even if the lineedit has focus. Task-number: QTBUG-33237 Change-Id: I733331be1d3225eb28390b21eb9a7e4971bfdc31 Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Diffstat (limited to 'src/widgets/widgets/qlineedit.cpp')
-rw-r--r--src/widgets/widgets/qlineedit.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/widgets/widgets/qlineedit.cpp b/src/widgets/widgets/qlineedit.cpp
index 70083d7267..816e7be8fd 100644
--- a/src/widgets/widgets/qlineedit.cpp
+++ b/src/widgets/widgets/qlineedit.cpp
@@ -333,8 +333,7 @@ void QLineEdit::setText(const QString& text)
\brief the line edit's placeholder text
Setting this property makes the line edit display a grayed-out
- placeholder text as long as the text() is empty and the widget doesn't
- have focus.
+ placeholder text as long as the text() is empty.
By default, this property contains an empty string.