1) there're no files.

2) You put arguments in the wrong order.
http://doc.qt.io/qt-4.8/qfiledialog.html#getOpenFileName