Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-24803

mistake in qt docs, setInputMask()

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • 5.0.0
    • 4.8.0
    • Documentation
    • None
    • Gentoo Linux
      Clang
    • Icd8e063dcd3d745bd4bf0c6851a38f63481957ae

    Description

      From docs:
      inputMask : QString [QLineEdit]
      ...
      Unset the mask and return to normal QLineEdit operation by passing an empty string ("") or just calling setInputMask() with no arguments.
      ...

      But I get erros using setInputMask "with no arguments" (clang):
      lineEdit->setInputMask();

      error: too few arguments to function call, expected 1, have 0
      lineKeyCode->setInputMask();
      ~~~~~~~~~~~~~~~~~~~~~~~~~ ^

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            mitch_curtis Mitch Curtis
            razrfalcon Evgeniy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes