Isn't line 98 in getOpenFileName() in PreviewFileDialog.cpp (and each subsequent function after) forcing the non-native issue?
Code:
options = options | QFileDialog::DontUseNativeDialog;
if (!(options & QFileDialog::DontUseNativeDialog)) {
return QFileDialog::getOpenFileName(parent, caption, dir, filter, selectedFilter, options);
}
We're setting the QFileDialog::DontUseNativeDialog option and then immediately checking to see if the option
isn't set aren't we?
Code:
return QFileDialog::getOpenFileName()
looks like it will never happen to me.