-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -373,7 +373,7 @@ QString FileDialog::getExistingDirectory( QWidget * parent, const QString & capt | |
|
||
QFileDialog dialog(parent, caption, dir); | ||
new PrefWidgetStates(&dialog, true, "FileDialog", &dialog); | ||
dialog.setFileMode((options & ShowDirsOnly) ? DirectoryOnly : Directory); | ||
// dialog.setFileMode((options & ShowDirsOnly) ? DirectoryOnly : Directory); | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
scottmudge
|
||
dialog.setOptions(options); | ||
dialog.setSupportedSchemes(QStringList(QStringLiteral("file"))); | ||
QString path; | ||
|
This breaks the "Save as Directory" dialog, which no longer allows selecting a folder in Windows.
Uncommenting/reverting this change this doesn't cause any build issues for me.