first parameter of QFileDialog should be the parent