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>
bb10
parent
58ec01e278
commit
2fee2412c2
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue