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

Windows: QFileDialog::setNameFilter does not work as expected for native dialog (when omitting description text)

    XMLWordPrintable

Details

    • 7b8d4cdb1098547ab2d2cc5337cae0496bb4ef61 (stable, 17.3.2014 5.3)

    Description

      Documentation of QFileDialog::setNameFilter says these two ways to set filters:

      dialog.setNameFilter("All C++ files (*.cpp *.cc *.C *.cxx *.c++)");
      dialog.setNameFilter("*.cpp *.cc *.C *.cxx *.c++");

      Second one is not working when using Windows native dialog. Behavior is that all files are shown.

      Attachments

        Activity

          People

            kleint Friedemann Kleint
            qtcomsupport Qt Support
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: