fixed crashing line in ctkFileDialog for Qt5.