You shouldn't use QFileDialog directly at all. Instead use the more convenient calibre provided functions
from calibre.gui2 import choose_dir, choose_files, choose_save_file, choose_images
and so on. These have the added advantage that they save the last used directory automatically.
|