Removed saving QFileDialog as class attribute.