Correct QLineEdit::inputMask documentation.
authorMitch Curtis <mitch.curtis@nokia.com>
Mon, 23 Jul 2012 13:33:03 +0000 (15:33 +0200)
committerQt by Nokia <qt-info@nokia.com>
Mon, 23 Jul 2012 20:02:18 +0000 (22:02 +0200)
commit2fee2412c2d69ffac23d743caf8b8b5f93747814
tree5158216243854c383fb8807b02a68e6ae3162491
parent58ec01e278496bdaaee05546beb543a119de4277
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>
src/widgets/widgets/qlineedit.cpp