diff --git a/src/vaults/dialogs.py b/src/vaults/dialogs.py index 3f9fe49a0..13ace928a 100644 --- a/src/vaults/dialogs.py +++ b/src/vaults/dialogs.py @@ -43,7 +43,7 @@ def __init__(self, dler, title, label, silent=False): self._progress.canceled.connect(self._dler.cancel) progressBar = QtWidgets.QProgressBar(self._progress) - progressBar.setAlignment(QtCore.Qt.AlignmentFlag.AlignCenter) + progressBar.setAlignment(QtCore.Qt.AlignCenter) self._progress.setBar(progressBar) self.timer = QtCore.QTimer()