dangerzone/dangerzone
deeplow e840c7a18c
Fix "Choose..." dialog not opening on Qt6
When clicking on the "Choose..." button nothing would happen visually
and it would show the error:

  Traceback (most recent call last):
    File "/home/user/dangerzone/dangerzone/gui/main_window.py", line 614, in select_output_directory
      dialog.setFileMode(QtWidgets.QFileDialog.DirectoryOnly)

According to the PySide docs, QFileDialog.DirectoryOnly has been
deprecated in Qt4.6 [1]. This was not an issue probably on PySide2
because it must have used an earlier Qt version.

Fixes #360

[1]: https://doc.qt.io/qtforpython-5/PySide2/QtWidgets/QFileDialog.html#PySide2.QtWidgets.PySide2.QtWidgets.QFileDialog.FileMode
2023-03-01 12:49:46 +00:00
..
gui Fix "Choose..." dialog not opening on Qt6 2023-03-01 12:49:46 +00:00
isolation_provider container: Copy files before mounting them 2023-02-17 01:15:08 +02:00
__init__.py Remove separate dangerzone-container entry point, make CLI work with it, and refactor container code to be more DRY 2021-08-04 16:21:00 -07:00
args.py Security: cli wildcard injection mitigation 2022-11-14 08:53:38 +00:00
cli.py Allow users to disable timeouts 2023-02-15 23:48:36 +02:00
document.py Prevent adding duplicate documents 2022-11-30 12:49:18 +00:00
errors.py Prevent adding duplicate documents 2022-11-30 12:49:18 +00:00
logic.py Separate config dirs from temp dirs 2023-02-17 01:06:44 +02:00
settings.py Implement 'move to subdir' logic & store in settings 2022-11-24 11:16:30 +00:00
util.py Separate config dirs from temp dirs 2023-02-17 01:06:44 +02:00