diff options
author | Mitch Curtis <mitch.curtis@nokia.com> | 2012-07-23 15:33:03 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-07-23 22:02:18 +0200 |
commit | 2fee2412c2d69ffac23d743caf8b8b5f93747814 (patch) | |
tree | 5158216243854c383fb8807b02a68e6ae3162491 /src/widgets | |
parent | 58ec01e278496bdaaee05546beb543a119de4277 (diff) |
Correct QLineEdit::inputMask documentation.
The documentation says:
"Unset the mask and return to normal QLineEdit operation by passing an
empty string ("") or just calling setInputMask() with no arguments."
However, the parameter for setInputMask is a const QString&, so calling
it with no arguments will result in a compile error. The documentation
should not advise calling setInputMask() without arguments.
Change-Id: Icd8e063dcd3d745bd4bf0c6851a38f63481957ae
Task-number: QTBUG-24803
Reviewed-by: Jerome Pasion <jerome.pasion@nokia.com>
Diffstat (limited to 'src/widgets')
-rw-r--r-- | src/widgets/widgets/qlineedit.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/widgets/widgets/qlineedit.cpp b/src/widgets/widgets/qlineedit.cpp index 162a1e3778..2421b62387 100644 --- a/src/widgets/widgets/qlineedit.cpp +++ b/src/widgets/widgets/qlineedit.cpp @@ -1089,8 +1089,7 @@ QMargins QLineEdit::textMargins() const instead of, or in conjunction with masks; see setValidator(). Unset the mask and return to normal QLineEdit operation by passing - an empty string ("") or just calling setInputMask() with no - arguments. + an empty string (""). The table below shows the characters that can be used in an input mask. A space character, the default character for a blank, is needed for cases |