Commit 9a0b7dc5 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

We already use "dlg.setOption(QFileDialog::ShowDirsOnly, true);"

parent 52ebbedc
Pipeline #113901 passed with stage
in 1 minute and 26 seconds
......@@ -884,7 +884,6 @@ int main(int argc, char *argv[])
const QUrl startUrl = QUrl::fromUserInput(startDir);
QFileDialog dlg;
dlg.setFileMode(QFileDialog::DirectoryOnly);
dlg.setOption(QFileDialog::ShowDirsOnly, true);
dlg.setDirectoryUrl(initialDirectory(startUrl));
dlg.selectFile(initialSelection(startUrl));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment