What is "this" pointing to? Is it a QWidget of some sort?
What is "this" pointing to? Is it a QWidget of some sort?
Yes, 'this' is a QWidget.
I actually found this workaround using Qt dialog instead of the native dialog:
QFileDialog dlg(this);
dlg.setFileMode(QFileDialog:irectoryOnly);
dlg.setOptions(QFileDialog::ShowDirsOnly);
int result = dlg.exec();
Works great. However, it would still be nice to know what is gong on with the native dialog.
Thanks.
Bookmarks