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

QFileDialog filters aren't working

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.8.1
    • None

    Description

      Code:

      QFileDialog dialog(this);
      dialog.setFileMode(QFileDialog::AnyFile);
      dialog.setNameFilter("QStyle (*.qss)");
      QUrl fileUrl = dialog.getOpenFileUrl(); 

      With this code it opens a window but doesn't apply filters to file explorer

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            nicola02nb Nicola Bizzotto
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes