Code: Select all
// force windows 7 and 8 to honor initial path
options = QFileDialog::ForceInitialDir_Win7;
https://www.copperspice.com/docs/cs_api/class_qfiledialog.html#a7a4555ae5a8887203dfbe3c061b44f77
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
};