Fix setLabelText(QFileDialog::Accept, tr("foo")); + QFileDialog::ShowDirsOnly
Before it was not possible to change Ok/Cancel text. When we use QFileDialog::ShowDirsOnly option it uses a specific widget with specific button. Now we can change text.
Before it was not possible to change Ok/Cancel text. When we use QFileDialog::ShowDirsOnly option it uses a specific widget with specific button. Now we can change text.