Removed saving of QFileDialog as class attribute.