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

QFileDialog parameters order dependency

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: 5.2.1
    • Fix Version/s: 5.4.2
    • Labels:
      None
    • Environment:
      Windows 7 SP1 x64
    • Commits:
      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

            Assignee:
            jbornema Joerg Bornemann
            Reporter:
            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