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

QFileDialog parameters order dependency

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.4.2
    • 5.2.1
    • None
    • Windows 7 SP1 x64
    • 3f25eda0ed669e61cc5e77f8d75771049ffab0c0

    Description

      This code:
      QFileDialog w;
      w.setOption(QFileDialog::DontUseNativeDialog, true);
      w.setFilter(QDir::AllEntries | QDir::Hidden | QDir::NoDotAndDotDot | QDir::System);

      And this code:
      QFileDialog w;
      w.setFilter(QDir::AllEntries | QDir::Hidden | QDir::NoDotAndDotDot | QDir::System);
      w.setOption(QFileDialog::DontUseNativeDialog, true);

      works different. Second code don't show hidden files while first show.

      Attachments

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

        Activity

          People

            jbornema Joerg Bornemann
            bitok BiTOk
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes