mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-28 18:02:38 +02:00
Fix opening save PDFs in Linux, and add some spacing in settings widget
This commit is contained in:
parent
3be1d63330
commit
13452a41aa
3 changed files with 3 additions and 2 deletions
|
@ -5,6 +5,7 @@ import tempfile
|
|||
import appdirs
|
||||
import platform
|
||||
import subprocess
|
||||
import shlex
|
||||
from PyQt5 import QtGui
|
||||
|
||||
if platform.system() == "Darwin":
|
||||
|
|
|
@ -73,10 +73,12 @@ class SettingsWidget(QtWidgets.QWidget):
|
|||
# Layout
|
||||
layout = QtWidgets.QVBoxLayout()
|
||||
layout.addWidget(self.dangerous_doc_label)
|
||||
layout.addSpacing(20)
|
||||
layout.addLayout(save_layout)
|
||||
layout.addLayout(open_layout)
|
||||
layout.addLayout(ocr_layout)
|
||||
layout.addLayout(update_layout)
|
||||
layout.addSpacing(20)
|
||||
layout.addLayout(button_layout)
|
||||
layout.addStretch()
|
||||
self.setLayout(layout)
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
import shutil
|
||||
import shlex
|
||||
import subprocess
|
||||
import tempfile
|
||||
from PyQt5 import QtCore, QtGui, QtWidgets
|
||||
|
||||
|
|
Loading…
Reference in a new issue