QFileDialogOptions Documentation bug

Report any problems with CopperSpice
Post Reply
Posts: 261
Joined: Thu Jun 11 2020 12:18 pm

QFileDialogOptions Documentation bug

Post by seasoned_geek »

In the Diamond editor code one has

Code: Select all

    // force windows 7 and 8 to honor initial path
    options = QFileDialog::ForceInitialDir_Win7;
In the documentation

There is no mention of this option.

It compiles just fine. Sadly there is also this problem.

QFileDialog::DontUseCustomDirectoryIcons 0x00000080 Always use the default directory icon. Some platforms allow the user to set a different icon. Custom icon lookup cause a big performance impact over network or removable drives. Setting this will enable the QFileIconProvider::DontUseCustomDirectoryIcons option in the icon provider.

Code: Select all

  enum FileDialogOption {
      ShowDirsOnly          = 0x00000001,
      DontResolveSymlinks   = 0x00000002,
      DontConfirmOverwrite  = 0x00000004,
      DontUseSheet          = 0x00000008,
      DontUseNativeDialog   = 0x00000010,
      ReadOnly              = 0x00000020,
      HideNameFilterDetails = 0x00000040,
      ForceInitialDir_Win7  = 0x00000080,
      DontUseCustomDirectoryIcons = 0x00000100
DontUseCustomDirectoryIcons shows incorrect value
Posts: 458
Joined: Sat Apr 04 2015 2:32 am

Re: QFileDialogOptions Documentation bug

Post by barbara »

Keep letting us know issues in our documentation. New docs will be updated today.
Post Reply