What happens if instead of using the static member functions, you create a QFileDialog instance, do setDirectory() and then open the dialog?