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>
This commit is contained in:
Mitch Curtis 2012-07-23 15:33:03 +02:00 committed by Qt by Nokia
parent 58ec01e278
commit 2fee2412c2

View File

@ -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