View Single Post
Old 08-06-2025, 07:19 PM   #42
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,737
Karma: 206739468
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
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.
DiapDealer is offline   Reply With Quote